Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008839/0.0008834, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.0008894/0.0008894, allocations: 177.3 kB / 15.95 MB, free: 216 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.321/1.321, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9359/0.9359, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 12 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 83.41 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3986/0.5478, allocations: 140.4 MB / 0.7343 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006701/0.5546, allocations: 5.255 MB / 0.7395 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.5551, allocations: 12.5 kB / 0.7395 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007/0.5558, allocations: 189.6 kB / 0.7397 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.5575, allocations: 0.5646 MB / 0.7402 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.5586, allocations: 351.5 kB / 0.7406 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.5593, allocations: 429.3 kB / 0.741 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003935/0.5597, allocations: 218.8 kB / 0.7412 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.5607, allocations: 438.1 kB / 0.7416 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.561, allocations: 196.1 kB / 0.7418 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.5611, allocations: 12.84 kB / 0.7418 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.5616, allocations: 203.4 kB / 0.742 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.5618, allocations: 91.16 kB / 0.7421 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.5618, allocations: 85.52 kB / 0.7422 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.5623, allocations: 325.8 kB / 0.7425 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5623, allocations: 0 / 0.7425 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5623, allocations: 0 / 0.7425 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.5623, allocations: 0 / 0.7425 GB, free: 6.43 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007718/0.5631, allocations: 0.5635 MB / 0.743 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5631, allocations: 15.97 kB / 0.743 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.5634, allocations: 64.47 kB / 0.7431 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.5639, allocations: 296.1 kB / 0.7434 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.5639, allocations: 20.56 kB / 0.7434 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.5639, allocations: 24 kB / 0.7434 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.5645, allocations: 320.3 kB / 0.7437 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5645, allocations: 0.5 kB / 0.7437 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.5645, allocations: 12 kB / 0.7437 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.5645, allocations: 11.95 kB / 0.7437 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.565, allocations: 214.2 kB / 0.744 GB, free: 4.953 MB / 0.5606 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.001752/0.5668, allocations: 1.535 MB / 0.7455 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.567, allocations: 125.3 kB / 0.7456 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/0.5675, allocations: 142.2 kB / 0.7457 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.5676, allocations: 35.22 kB / 0.7457 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.5676, allocations: 4 kB / 0.7457 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008537/0.5684, allocations: 288.1 kB / 0.746 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.5685, allocations: 60.2 kB / 0.7461 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.5689, allocations: 311.4 kB / 0.7464 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.5689, allocations: 25.7 kB / 0.7464 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.569, allocations: 184.6 kB / 0.7466 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.5691, allocations: 43.41 kB / 0.7466 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.5691, allocations: 0 / 0.7466 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5692, allocations: 339.4 kB / 0.7469 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.5694, allocations: 68.19 kB / 0.747 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.5696, allocations: 118.5 kB / 0.7471 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.5698, allocations: 78.12 kB / 0.7472 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5698, allocations: 0 / 0.7472 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004137/0.5702, allocations: 232.6 kB / 0.7474 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5702, allocations: 7.953 kB / 0.7474 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.5703, allocations: 7.938 kB / 0.7474 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5703, allocations: 0 / 0.7474 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.5704, allocations: 32.36 kB / 0.7475 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5705, allocations: 4 kB / 0.7475 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.5707, allocations: 41.73 kB / 0.7475 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.5707, allocations: 9.266 kB / 0.7475 GB, free: 1.426 MB / 0.5606 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 (17): * Single equations (assignments): 17 * 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.0001417/0.5709, allocations: 146 kB / 0.7477 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.5709, allocations: 28.47 kB / 0.7477 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/0.5714, allocations: 222.8 kB / 0.7479 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.5714, allocations: 0 / 0.7479 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.5714, allocations: 2.5 kB / 0.7479 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5714, allocations: 4.594 kB / 0.7479 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.5724, allocations: 0.7048 MB / 0.7486 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5725, allocations: 0 / 0.7486 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.5726, allocations: 27.8 kB / 0.7486 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.5726, allocations: 4 kB / 0.7486 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.5726, allocations: 8 kB / 0.7486 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.5726, allocations: 3.938 kB / 0.7486 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.5726, allocations: 7.031 kB / 0.7486 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.5731, allocations: 432.7 kB / 0.749 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.5733, allocations: 120.2 kB / 0.7492 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.5733, allocations: 4 kB / 0.7492 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.5735, allocations: 19.94 kB / 0.7492 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.5736, allocations: 17.44 kB / 0.7492 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5736, allocations: 8 kB / 0.7492 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002114/0.5738, allocations: 220.1 kB / 0.7494 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5738, allocations: 0 / 0.7494 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004077/0.5742, allocations: 72.97 kB / 0.7495 GB, free: 15.42 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (13): * Single equations (assignments): 13 * 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.0003727/0.5746, allocations: 163.9 kB / 0.7496 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.575, allocations: 162.9 kB / 0.7498 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.575, allocations: 3.938 kB / 0.7498 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.5752, allocations: 86.8 kB / 0.7499 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.576, allocations: 142.7 kB / 0.75 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008441/0.5769, allocations: 0.6233 MB / 0.7506 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5772, allocations: 0.7919 MB / 0.7514 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.5774, allocations: 65.97 kB / 0.7515 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.5775, allocations: 23.95 kB / 0.7515 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.5775, allocations: 0 / 0.7515 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.009119/0.5866, allocations: 4.701 MB / 0.7561 GB, free: 9.012 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: