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.005209/0.005209, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001138/0.001138, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.291/1.291, allocations: 222.9 MB / 240.4 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.002169/0.00217, allocations: 289.5 kB / 290.8 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.9071/0.9071, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 95.84 kB / 0.6815 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.4783, allocations: 86.98 MB / 0.7664 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1986/0.677, allocations: 167.5 MB / 0.93 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007378/0.6844, allocations: 6.522 MB / 0.9364 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.6849, allocations: 15.88 kB / 0.9364 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.6854, allocations: 170.8 kB / 0.9365 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.6875, allocations: 0.8479 MB / 0.9374 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008825/0.6884, allocations: 330.3 kB / 0.9377 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.6892, allocations: 0.7212 MB / 0.9384 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.6896, allocations: 277.4 kB / 0.9387 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.6906, allocations: 0.5526 MB / 0.9392 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.691, allocations: 267 kB / 0.9395 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.6911, allocations: 24 kB / 0.9395 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.6917, allocations: 335.2 kB / 0.9398 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.6918, allocations: 115.6 kB / 0.9399 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.692, allocations: 171.1 kB / 0.9401 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.6926, allocations: 470.5 kB / 0.9405 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6926, allocations: 0 / 0.9405 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6926, allocations: 0 / 0.9405 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.6926, allocations: 3.938 kB / 0.9405 GB, free: 1.004 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.0008157/0.6934, allocations: 0.6155 MB / 0.9411 GB, free: 348 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.6935, allocations: 12.03 kB / 0.9411 GB, free: 336 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.6938, allocations: 59.59 kB / 0.9412 GB, free: 276 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.6943, allocations: 329.2 kB / 0.9415 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.6943, allocations: 20.56 kB / 0.9415 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.6943, allocations: 28 kB / 0.9416 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.6949, allocations: 315.7 kB / 0.9419 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6949, allocations: 0 / 0.9419 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.6949, allocations: 15.94 kB / 0.9419 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.695, allocations: 4 kB / 0.9419 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.6954, allocations: 209.5 kB / 0.9421 GB, free: 15.3 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.001562/0.697, allocations: 1.534 MB / 0.9436 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.6972, allocations: 122.5 kB / 0.9437 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.6974, allocations: 88.8 kB / 0.9438 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.698, allocations: 307.2 kB / 0.9441 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.6981, allocations: 38.56 kB / 0.9441 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.6981, allocations: 0 / 0.9441 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007458/0.6988, allocations: 270.6 kB / 0.9444 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.6989, allocations: 51.41 kB / 0.9444 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.6992, allocations: 312.5 kB / 0.9447 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.6992, allocations: 33.64 kB / 0.9447 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.6994, allocations: 180.1 kB / 0.9449 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.6994, allocations: 47.3 kB / 0.945 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.6995, allocations: 33.72 kB / 0.945 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6997, allocations: 342.8 kB / 0.9453 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.6998, allocations: 55.95 kB / 0.9454 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.7, allocations: 117 kB / 0.9455 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.7004, allocations: 180.9 kB / 0.9457 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7004, allocations: 3.938 kB / 0.9457 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004153/0.7008, allocations: 213.1 kB / 0.9459 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7008, allocations: 8 kB / 0.9459 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7009, allocations: 0 / 0.9459 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7009, allocations: 4 kB / 0.9459 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.7011, allocations: 36.12 kB / 0.9459 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7011, allocations: 7.938 kB / 0.9459 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.7013, allocations: 27.73 kB / 0.9459 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.7013, allocations: 8 kB / 0.9459 GB, free: 11.03 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.0001464/0.7014, allocations: 149.8 kB / 0.9461 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.7015, allocations: 27.77 kB / 0.9461 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.702, allocations: 218.6 kB / 0.9463 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.702, allocations: 4 kB / 0.9463 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.702, allocations: 4 kB / 0.9463 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.702, allocations: 0 / 0.9463 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.703, allocations: 0.6795 MB / 0.947 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.703, allocations: 4 kB / 0.947 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.7032, allocations: 31.92 kB / 0.947 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.7032, allocations: 4 kB / 0.947 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.7032, allocations: 4 kB / 0.947 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.7032, allocations: 3.938 kB / 0.947 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7032, allocations: 16.14 kB / 0.9471 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.7037, allocations: 337 kB / 0.9474 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.7038, allocations: 120.7 kB / 0.9475 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.7038, allocations: 8 kB / 0.9475 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.704, allocations: 7.938 kB / 0.9475 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.7041, allocations: 15.98 kB / 0.9475 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.7041, allocations: 4 kB / 0.9475 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002324/0.7043, allocations: 231 kB / 0.9477 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7043, allocations: 0 / 0.9477 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003972/0.7047, allocations: 63.91 kB / 0.9478 GB, free: 8.969 MB / 0.7169 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 (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.0003823/0.7051, allocations: 165.3 kB / 0.948 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.7055, allocations: 151.8 kB / 0.9481 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7056, allocations: 0 / 0.9481 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.7057, allocations: 88.44 kB / 0.9482 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.7066, allocations: 155.6 kB / 0.9483 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.7075, allocations: 0.5405 MB / 0.9489 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.7079, allocations: 0.7756 MB / 0.9496 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.7081, allocations: 62.94 kB / 0.9497 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.7081, allocations: 27.44 kB / 0.9497 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.7082, allocations: 0 / 0.9497 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.01033/0.7185, allocations: 5.24 MB / 0.9548 GB, free: 1.797 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)