Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009823/0.0009823, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001004/0.001004, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 292.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9153/0.9153, allocations: 169.2 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3969, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.163/0.56, allocations: 167.5 MB / 0.9307 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007875/0.5679, allocations: 6.54 MB / 0.9371 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/0.5684, allocations: 15.88 kB / 0.9371 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.5691, allocations: 162.8 kB / 0.9372 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.5713, allocations: 0.8479 MB / 0.9381 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009663/0.5723, allocations: 330.2 kB / 0.9384 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009829/0.5732, allocations: 0.7251 MB / 0.9391 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005229/0.5738, allocations: 273.5 kB / 0.9393 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.575, allocations: 0.5486 MB / 0.9399 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.5755, allocations: 271 kB / 0.9401 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.5755, allocations: 24 kB / 0.9402 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006491/0.5762, allocations: 339.2 kB / 0.9405 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.5763, allocations: 107.6 kB / 0.9406 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.5765, allocations: 171.1 kB / 0.9407 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.5773, allocations: 466.6 kB / 0.9412 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5773, allocations: 3.938 kB / 0.9412 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5773, allocations: 0 / 0.9412 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.5773, allocations: 0 / 0.9412 GB, free: 0.9023 MB / 0.7012 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.0008782/0.5782, allocations: 0.6195 MB / 0.9418 GB, free: 240 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5782, allocations: 11.97 kB / 0.9418 GB, free: 228 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.5786, allocations: 67.56 kB / 0.9419 GB, free: 160 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.5791, allocations: 325.2 kB / 0.9422 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5791, allocations: 16.56 kB / 0.9422 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.5791, allocations: 28 kB / 0.9422 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.5797, allocations: 319.7 kB / 0.9425 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5797, allocations: 0 / 0.9425 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.5797, allocations: 12 kB / 0.9425 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.5797, allocations: 8 kB / 0.9426 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.5802, allocations: 201.5 kB / 0.9427 GB, free: 15.2 MB / 0.7169 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.001424/0.5816, allocations: 1.534 MB / 0.9442 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.5818, allocations: 122.5 kB / 0.9444 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.582, allocations: 92.8 kB / 0.9444 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/0.5826, allocations: 307.2 kB / 0.9447 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.5826, allocations: 34.56 kB / 0.9448 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.5826, allocations: 0 / 0.9448 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007447/0.5834, allocations: 267.2 kB / 0.945 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.5834, allocations: 59.34 kB / 0.9451 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.5837, allocations: 320.4 kB / 0.9454 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.5838, allocations: 29.7 kB / 0.9454 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.5839, allocations: 176.2 kB / 0.9456 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.5839, allocations: 47.3 kB / 0.9456 GB, free: 12 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.584, allocations: 33.72 kB / 0.9457 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5841, allocations: 342.8 kB / 0.946 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5843, allocations: 63.95 kB / 0.9461 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.5845, allocations: 117 kB / 0.9462 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.5848, allocations: 173 kB / 0.9463 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5848, allocations: 0 / 0.9463 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000419/0.5852, allocations: 217.2 kB / 0.9465 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5853, allocations: 8.031 kB / 0.9465 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5853, allocations: 0 / 0.9465 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.5853, allocations: 4 kB / 0.9465 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.5855, allocations: 35.97 kB / 0.9466 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5855, allocations: 4 kB / 0.9466 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.5857, allocations: 23.73 kB / 0.9466 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.5857, allocations: 12.05 kB / 0.9466 GB, free: 10.93 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.5859, allocations: 156.1 kB / 0.9468 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.5859, allocations: 31.7 kB / 0.9468 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.5864, allocations: 212.5 kB / 0.947 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5864, allocations: 0 / 0.947 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5864, allocations: 0 / 0.947 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.5865, allocations: 120.7 kB / 0.9471 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.5865, allocations: 0 / 0.9471 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.5867, allocations: 7.984 kB / 0.9471 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.5867, allocations: 19.92 kB / 0.9471 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004287/0.5872, allocations: 252.9 kB / 0.9474 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004104/0.5876, allocations: 364.5 kB / 0.9477 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001521/0.5878, allocations: 75.94 kB / 0.9478 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000193/0.588, allocations: 219.1 kB / 0.948 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of Backend: time 4.31e-07/0.588, allocations: 0 / 0.948 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009102/0.5889, allocations: 265.4 kB / 0.9483 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001308/0.5902, allocations: 1.034 MB / 0.9493 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.01063/0.6008, allocations: 5.815 MB / 0.955 GB, free: 2.379 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)