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.001489/0.001489, allocations: 109.8 kB / 16.41 MB, free: 6.445 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.001472/0.001472, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.8736/0.8736, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 70.84 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1591, allocations: 82.02 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4918/0.651, allocations: 167.9 MB / 0.8402 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00319/0.6542, allocations: 1.562 MB / 0.8418 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.6544, allocations: 12.06 kB / 0.8418 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.6549, allocations: 156.5 kB / 0.8419 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.6567, allocations: 0.7303 MB / 0.8426 GB, free: 200 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.6582, allocations: 0.6033 MB / 0.8432 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008348/0.6591, allocations: 0.7009 MB / 0.8439 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.6594, allocations: 212.6 kB / 0.8441 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/0.66, allocations: 341.8 kB / 0.8444 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.6602, allocations: 224.1 kB / 0.8447 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.6603, allocations: 22.56 kB / 0.8447 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.6616, allocations: 0.8688 MB / 0.8455 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.6617, allocations: 113.1 kB / 0.8456 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.6619, allocations: 174.3 kB / 0.8458 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009914/0.6629, allocations: 0.7375 MB / 0.8465 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6629, allocations: 2.719 kB / 0.8465 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6629, allocations: 0 / 0.8465 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6629, allocations: 0 / 0.8465 GB, free: 13.77 MB / 0.6231 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.001003/0.6639, allocations: 0.6633 MB / 0.8472 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.6639, allocations: 10.09 kB / 0.8472 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.6651, allocations: 150.1 kB / 0.8473 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.6656, allocations: 329.9 kB / 0.8476 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.6656, allocations: 14.81 kB / 0.8477 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.6657, allocations: 22.06 kB / 0.8477 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.6661, allocations: 280.2 kB / 0.8479 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6662, allocations: 7.938 kB / 0.8479 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.6662, allocations: 8.656 kB / 0.848 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.6662, allocations: 5 kB / 0.848 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.6666, allocations: 194.7 kB / 0.8481 GB, free: 12.49 MB / 0.6231 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.001506/0.6681, allocations: 1.212 MB / 0.8493 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.6684, allocations: 131.4 kB / 0.8495 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.6685, allocations: 87.92 kB / 0.8495 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/0.6691, allocations: 302.3 kB / 0.8498 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.6691, allocations: 45.25 kB / 0.8499 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.6691, allocations: 0 / 0.8499 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007322/0.6699, allocations: 281.8 kB / 0.8501 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.6699, allocations: 54.59 kB / 0.8502 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.6702, allocations: 314.5 kB / 0.8505 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.6703, allocations: 29.7 kB / 0.8505 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.6704, allocations: 190.3 kB / 0.8507 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.6705, allocations: 60.59 kB / 0.8508 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.6706, allocations: 47.11 kB / 0.8508 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.6707, allocations: 338.6 kB / 0.8511 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.6709, allocations: 63.3 kB / 0.8512 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.6711, allocations: 131.8 kB / 0.8513 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.6715, allocations: 183.7 kB / 0.8515 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6715, allocations: 4 kB / 0.8515 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004499/0.6719, allocations: 242.7 kB / 0.8517 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.6719, allocations: 5.281 kB / 0.8517 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6719, allocations: 2.562 kB / 0.8517 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6719, allocations: 0 / 0.8517 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.6721, allocations: 44.69 kB / 0.8518 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6721, allocations: 3.656 kB / 0.8518 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.6723, allocations: 37.83 kB / 0.8518 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.6724, allocations: 7.594 kB / 0.8518 GB, free: 9.43 MB / 0.6231 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.0001477/0.6725, allocations: 148.4 kB / 0.852 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.6726, allocations: 30.62 kB / 0.852 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.673, allocations: 223.9 kB / 0.8522 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.673, allocations: 0 / 0.8522 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.673, allocations: 2.312 kB / 0.8522 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.673, allocations: 4 kB / 0.8522 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.6741, allocations: 0.6807 MB / 0.8529 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6741, allocations: 2.875 kB / 0.8529 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.6743, allocations: 34.55 kB / 0.8529 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.6743, allocations: 2.938 kB / 0.8529 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.6743, allocations: 6.375 kB / 0.8529 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6743, allocations: 4.406 kB / 0.8529 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6743, allocations: 2.906 kB / 0.8529 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.675, allocations: 440.3 kB / 0.8533 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.6752, allocations: 128.9 kB / 0.8535 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.6752, allocations: 8.812 kB / 0.8535 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.6754, allocations: 8 kB / 0.8535 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.6754, allocations: 15.92 kB / 0.8535 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.6754, allocations: 11.98 kB / 0.8535 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002487/0.6757, allocations: 223.1 kB / 0.8537 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6757, allocations: 8 kB / 0.8537 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004066/0.6761, allocations: 75.92 kB / 0.8538 GB, free: 7.633 MB / 0.6231 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.0004336/0.6765, allocations: 166.4 kB / 0.854 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.677, allocations: 171.8 kB / 0.8541 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.677, allocations: 3.938 kB / 0.8541 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.6772, allocations: 84.83 kB / 0.8542 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/0.678, allocations: 167.9 kB / 0.8544 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.6791, allocations: 0.6454 MB / 0.855 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.6795, allocations: 0.7717 MB / 0.8558 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.6796, allocations: 27.44 kB / 0.8558 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of SimCode: time 4.9e-07/0.6796, allocations: 0 / 0.8558 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of Templates: time 0.008105/0.6877, allocations: 4.877 MB / 0.8605 GB, free: 0.7031 MB / 0.6231 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)