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.001289/0.001289, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001382/0.001383, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 288.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 96.14 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4049, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1605/0.5654, allocations: 167.5 MB / 0.9307 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007262/0.5727, allocations: 6.525 MB / 0.9371 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.5734, allocations: 19.88 kB / 0.9371 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.5741, allocations: 170.7 kB / 0.9372 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.5767, allocations: 0.8713 MB / 0.9381 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.5777, allocations: 337.3 kB / 0.9384 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008985/0.5786, allocations: 0.7212 MB / 0.9391 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.5791, allocations: 269.5 kB / 0.9394 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.5802, allocations: 0.5721 MB / 0.9399 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.5806, allocations: 271 kB / 0.9402 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.5807, allocations: 20 kB / 0.9402 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000578/0.5812, allocations: 343.1 kB / 0.9405 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.5814, allocations: 111.7 kB / 0.9406 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.5815, allocations: 167.2 kB / 0.9408 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.5821, allocations: 478.5 kB / 0.9413 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.5822, allocations: 0 / 0.9413 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5822, allocations: 0 / 0.9413 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5822, allocations: 0 / 0.9413 GB, free: 0.8828 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.0007518/0.5829, allocations: 0.6116 MB / 0.9419 GB, free: 228 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.583, allocations: 16.02 kB / 0.9419 GB, free: 212 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.5833, allocations: 59.59 kB / 0.9419 GB, free: 152 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.5838, allocations: 321.2 kB / 0.9422 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5838, allocations: 24.55 kB / 0.9423 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.5838, allocations: 28 kB / 0.9423 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.5843, allocations: 319.7 kB / 0.9426 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5844, allocations: 7.938 kB / 0.9426 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.5844, allocations: 15.94 kB / 0.9426 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5844, allocations: 8 kB / 0.9426 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.5848, allocations: 197.6 kB / 0.9428 GB, free: 15.18 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.001635/0.5865, allocations: 1.534 MB / 0.9443 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.5867, allocations: 130.5 kB / 0.9444 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.5869, allocations: 87.56 kB / 0.9445 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.5875, allocations: 299.2 kB / 0.9448 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.5875, allocations: 38.56 kB / 0.9448 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.5875, allocations: 7.938 kB / 0.9448 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000755/0.5883, allocations: 265.2 kB / 0.9451 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.5883, allocations: 51.41 kB / 0.9451 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.5887, allocations: 312.5 kB / 0.9454 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5888, allocations: 37.7 kB / 0.9455 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5889, allocations: 176.2 kB / 0.9456 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.589, allocations: 47.28 kB / 0.9457 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.589, allocations: 41.7 kB / 0.9457 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5892, allocations: 338.8 kB / 0.9461 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.5894, allocations: 55.95 kB / 0.9461 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.5896, allocations: 117 kB / 0.9462 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.5899, allocations: 173 kB / 0.9464 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5899, allocations: 0 / 0.9464 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004417/0.5904, allocations: 225.1 kB / 0.9466 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5904, allocations: 8 kB / 0.9466 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5904, allocations: 0 / 0.9466 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5904, allocations: 4.156 kB / 0.9466 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.5906, allocations: 31.98 kB / 0.9466 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.5906, allocations: 7.938 kB / 0.9466 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.5908, allocations: 23.73 kB / 0.9467 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.5909, allocations: 12 kB / 0.9467 GB, free: 10.91 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.0002027/0.5911, allocations: 148.2 kB / 0.9468 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.5911, allocations: 23.72 kB / 0.9468 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005184/0.5916, allocations: 220.5 kB / 0.9471 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5917, allocations: 0 / 0.9471 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5917, allocations: 0 / 0.9471 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.5918, allocations: 128.6 kB / 0.9472 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.5918, allocations: 0 / 0.9472 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.592, allocations: 8 kB / 0.9472 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.592, allocations: 15.92 kB / 0.9472 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004737/0.5925, allocations: 252.9 kB / 0.9474 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004547/0.593, allocations: 368.2 kB / 0.9478 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001581/0.5932, allocations: 67.94 kB / 0.9479 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001964/0.5934, allocations: 231 kB / 0.9481 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of Backend: time 4.61e-07/0.5934, allocations: 0 / 0.9481 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009348/0.5943, allocations: 263.2 kB / 0.9483 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001371/0.5957, allocations: 1.038 MB / 0.9493 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of Templates: time 0.01107/0.6068, allocations: 5.807 MB / 0.955 GB, free: 2.363 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)