Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007858/0.007858, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.029/1.029, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 12 kB / 0.5164 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 83.4 MB / 0.5978 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5565/0.7595, allocations: 163 MB / 0.757 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.7632, allocations: 1.542 MB / 0.7585 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004106/0.7636, allocations: 7.938 kB / 0.7585 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.7642, allocations: 115.2 kB / 0.7586 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.7664, allocations: 0.673 MB / 0.7593 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.7682, allocations: 0.5464 MB / 0.7598 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.7698, allocations: 0.9703 MB / 0.7608 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005226/0.7703, allocations: 197.4 kB / 0.761 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009314/0.7713, allocations: 306.7 kB / 0.7613 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.7717, allocations: 227 kB / 0.7615 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.7717, allocations: 12 kB / 0.7615 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.7745, allocations: 1.009 MB / 0.7625 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.7747, allocations: 95.7 kB / 0.7626 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.7749, allocations: 185.6 kB / 0.7627 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.7763, allocations: 0.7789 MB / 0.7635 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7763, allocations: 0 / 0.7635 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7763, allocations: 0 / 0.7635 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.7763, allocations: 0 / 0.7635 GB, free: 2.34 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001081/0.7774, allocations: 0.5919 MB / 0.7641 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.7775, allocations: 12.02 kB / 0.7641 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7787, allocations: 148.1 kB / 0.7642 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.7793, allocations: 321.6 kB / 0.7645 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.7793, allocations: 16.44 kB / 0.7646 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.7794, allocations: 24 kB / 0.7646 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.7799, allocations: 279.5 kB / 0.7648 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.7799, allocations: 3.938 kB / 0.7648 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.78, allocations: 12 kB / 0.7649 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.78, allocations: 4.5 kB / 0.7649 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.7804, allocations: 207.8 kB / 0.7651 GB, free: 0.6328 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.782, allocations: 1.214 MB / 0.7662 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.7823, allocations: 142.5 kB / 0.7664 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.7825, allocations: 97.55 kB / 0.7665 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.7832, allocations: 315.2 kB / 0.7668 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.7832, allocations: 34.5 kB / 0.7668 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.314e-06/0.7832, allocations: 0 / 0.7668 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008241/0.7841, allocations: 306.7 kB / 0.7671 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.7841, allocations: 51.41 kB / 0.7671 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.7845, allocations: 312.5 kB / 0.7674 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.7845, allocations: 29.7 kB / 0.7675 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.7847, allocations: 188.1 kB / 0.7677 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.7847, allocations: 47.3 kB / 0.7677 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.7848, allocations: 25.7 kB / 0.7677 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7849, allocations: 338.8 kB / 0.768 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.7851, allocations: 67.95 kB / 0.7681 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.7854, allocations: 136.5 kB / 0.7682 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.7857, allocations: 203.8 kB / 0.7684 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7857, allocations: 0 / 0.7684 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004913/0.7862, allocations: 253.1 kB / 0.7687 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7863, allocations: 7.938 kB / 0.7687 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7863, allocations: 0.5625 kB / 0.7687 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7863, allocations: 7.938 kB / 0.7687 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.7865, allocations: 43.97 kB / 0.7687 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7865, allocations: 0.5469 kB / 0.7687 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.7868, allocations: 39.8 kB / 0.7688 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.7868, allocations: 11.56 kB / 0.7688 GB, free: 12.55 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.787, allocations: 157.6 kB / 0.7689 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.787, allocations: 31.7 kB / 0.769 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.7875, allocations: 229.4 kB / 0.7692 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7876, allocations: 3.984 kB / 0.7692 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7876, allocations: 0 / 0.7692 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.7876, allocations: 0 / 0.7692 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.7886, allocations: 0.7009 MB / 0.7699 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7887, allocations: 4 kB / 0.7699 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.7888, allocations: 35.86 kB / 0.7699 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.7888, allocations: 7.984 kB / 0.7699 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.7889, allocations: 7.938 kB / 0.7699 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7889, allocations: 3.984 kB / 0.7699 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7889, allocations: 4 kB / 0.7699 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.7896, allocations: 446.1 kB / 0.7704 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.7897, allocations: 124.7 kB / 0.7705 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.7898, allocations: 11.94 kB / 0.7705 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.79, allocations: 23.98 kB / 0.7705 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.79, allocations: 11.98 kB / 0.7705 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.7901, allocations: 8 kB / 0.7705 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002226/0.7903, allocations: 227 kB / 0.7707 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7903, allocations: 0 / 0.7707 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004104/0.7907, allocations: 76 kB / 0.7708 GB, free: 10.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000422/0.7911, allocations: 173 kB / 0.771 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.7916, allocations: 177 kB / 0.7712 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7916, allocations: 3.938 kB / 0.7712 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.7918, allocations: 95.81 kB / 0.7712 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.7928, allocations: 169.9 kB / 0.7714 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.7939, allocations: 0.7321 MB / 0.7721 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.7942, allocations: 0.7797 MB / 0.7729 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.7945, allocations: 66.92 kB / 0.7729 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.7945, allocations: 23.44 kB / 0.773 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.7945, allocations: 0 / 0.773 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of Templates: time 0.01124/0.8058, allocations: 5.441 MB / 0.7783 GB, free: 2.746 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)