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.0008408/0.0008409, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009305/0.0009305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 240 MB, free: 5.402 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 0.8698/0.8698, allocations: 143.2 MB / 434.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 12 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 83.42 MB / 0.5973 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3489/0.4775, allocations: 152.1 MB / 0.7458 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.4795, allocations: 1.471 MB / 0.7472 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.4796, allocations: 11.69 kB / 0.7472 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.4799, allocations: 105.3 kB / 0.7473 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009381/0.4809, allocations: 0.5009 MB / 0.7478 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009852/0.4819, allocations: 456.9 kB / 0.7482 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.4826, allocations: 0.8254 MB / 0.749 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.4829, allocations: 181.2 kB / 0.7492 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004519/0.4833, allocations: 302.8 kB / 0.7495 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.4836, allocations: 219.1 kB / 0.7497 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.4836, allocations: 12 kB / 0.7497 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007917/0.4844, allocations: 462.9 kB / 0.7502 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.4846, allocations: 103.7 kB / 0.7503 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.4846, allocations: 85.52 kB / 0.7503 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.4851, allocations: 450.9 kB / 0.7508 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4851, allocations: 0 / 0.7508 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4851, allocations: 0 / 0.7508 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4851, allocations: 1.031 kB / 0.7508 GB, free: 15.39 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.0007026/0.4858, allocations: 0.5959 MB / 0.7514 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.4859, allocations: 12.03 kB / 0.7514 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.4869, allocations: 155.4 kB / 0.7515 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.4872, allocations: 301.8 kB / 0.7518 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4872, allocations: 20.38 kB / 0.7518 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.4873, allocations: 20 kB / 0.7518 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.4877, allocations: 283.5 kB / 0.7521 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4877, allocations: 0 / 0.7521 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.4878, allocations: 12 kB / 0.7521 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4878, allocations: 4 kB / 0.7521 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.4882, allocations: 203.8 kB / 0.7523 GB, free: 13.69 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.001178/0.4893, allocations: 1.226 MB / 0.7535 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.4896, allocations: 143.1 kB / 0.7536 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.4898, allocations: 88.81 kB / 0.7537 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/0.4903, allocations: 315.2 kB / 0.754 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.4903, allocations: 39.06 kB / 0.7541 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.4903, allocations: 4 kB / 0.7541 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000659/0.491, allocations: 295.1 kB / 0.7544 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.491, allocations: 55.34 kB / 0.7544 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.4913, allocations: 308.5 kB / 0.7547 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4913, allocations: 33.7 kB / 0.7547 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.4915, allocations: 188.1 kB / 0.7549 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.4915, allocations: 55.2 kB / 0.755 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.4915, allocations: 0 / 0.755 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4916, allocations: 342.8 kB / 0.7553 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4918, allocations: 71.95 kB / 0.7554 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.492, allocations: 127.9 kB / 0.7555 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4922, allocations: 85.22 kB / 0.7556 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4922, allocations: 0 / 0.7556 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004154/0.4926, allocations: 253.3 kB / 0.7558 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4926, allocations: 8 kB / 0.7558 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4926, allocations: 3.984 kB / 0.7558 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4926, allocations: 7.984 kB / 0.7558 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.4928, allocations: 40.48 kB / 0.7559 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4928, allocations: 4 kB / 0.7559 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.493, allocations: 39.8 kB / 0.7559 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.493, allocations: 8 kB / 0.7559 GB, free: 9.766 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.4932, allocations: 157.6 kB / 0.7561 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.4932, allocations: 28.53 kB / 0.7561 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.4937, allocations: 236.9 kB / 0.7563 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4937, allocations: 0 / 0.7563 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4937, allocations: 4 kB / 0.7563 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.4937, allocations: 0 / 0.7563 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/0.4946, allocations: 0.6881 MB / 0.757 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4946, allocations: 4 kB / 0.757 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.4947, allocations: 39.91 kB / 0.757 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4948, allocations: 4 kB / 0.757 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4948, allocations: 5.938 kB / 0.757 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4948, allocations: 4 kB / 0.7571 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4948, allocations: 3.953 kB / 0.7571 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.4953, allocations: 450.1 kB / 0.7575 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.4955, allocations: 120.8 kB / 0.7576 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.4955, allocations: 11.94 kB / 0.7576 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.4957, allocations: 19.98 kB / 0.7576 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.4957, allocations: 19.94 kB / 0.7576 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.4957, allocations: 8 kB / 0.7577 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001883/0.4959, allocations: 223 kB / 0.7579 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4959, allocations: 0 / 0.7579 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003215/0.4963, allocations: 68 kB / 0.7579 GB, free: 7.555 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002933/0.4966, allocations: 168.1 kB / 0.7581 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.497, allocations: 189.3 kB / 0.7583 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.497, allocations: 0 / 0.7583 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.4971, allocations: 87.83 kB / 0.7584 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.4979, allocations: 170.6 kB / 0.7585 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.4987, allocations: 0.6997 MB / 0.7592 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.499, allocations: 0.7797 MB / 0.76 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000196/0.4992, allocations: 71.56 kB / 0.76 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.4993, allocations: 23.44 kB / 0.7601 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.4993, allocations: 3.938 kB / 0.7601 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of Templates: time 0.008304/0.5076, allocations: 5.278 MB / 0.7652 GB, free: 168 kB / 0.5762 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)