Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005894/0.005894, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001174/0.001174, allocations: 186.5 kB / 16.67 MB, free: 5.422 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 288.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.9461/0.9461, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 95.86 kB / 0.6815 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4836, allocations: 86.99 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1842/0.6679, allocations: 161.3 MB / 0.924 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005315/0.6733, allocations: 4.547 MB / 0.9284 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.6738, allocations: 11.94 kB / 0.9284 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.6743, allocations: 127 kB / 0.9285 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.6751, allocations: 318.5 kB / 0.9288 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.6759, allocations: 288 kB / 0.9291 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.6765, allocations: 0.5612 MB / 0.9297 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.6769, allocations: 205.2 kB / 0.9299 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009616/0.6778, allocations: 458.2 kB / 0.9303 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.6781, allocations: 191.2 kB / 0.9305 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.6782, allocations: 16 kB / 0.9305 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.6784, allocations: 75.94 kB / 0.9306 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.6785, allocations: 91.77 kB / 0.9307 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.6786, allocations: 123.3 kB / 0.9308 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.679, allocations: 317.6 kB / 0.9311 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.679, allocations: 0 / 0.9311 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.904e-06/0.679, allocations: 0 / 0.9311 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.6791, allocations: 0 / 0.9311 GB, free: 10.63 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008223/0.6799, allocations: 0.5294 MB / 0.9316 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6799, allocations: 8.031 kB / 0.9316 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.68, allocations: 39.55 kB / 0.9316 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.6804, allocations: 283.4 kB / 0.9319 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.6804, allocations: 16 kB / 0.9319 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.6805, allocations: 20 kB / 0.9319 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.6809, allocations: 262.3 kB / 0.9322 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.681, allocations: 0 / 0.9322 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.681, allocations: 11.94 kB / 0.9322 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.681, allocations: 8 kB / 0.9322 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.6813, allocations: 151.7 kB / 0.9324 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.6826, allocations: 1.36 MB / 0.9337 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.6829, allocations: 191.7 kB / 0.9339 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.6831, allocations: 93.11 kB / 0.934 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.6835, allocations: 117 kB / 0.9341 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.6835, allocations: 54.42 kB / 0.9341 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.6835, allocations: 0 / 0.9341 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006257/0.6841, allocations: 205.8 kB / 0.9343 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.6843, allocations: 191.9 kB / 0.9345 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.6846, allocations: 286.9 kB / 0.9348 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.6846, allocations: 33.7 kB / 0.9348 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.6847, allocations: 144 kB / 0.9349 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.6848, allocations: 39.39 kB / 0.935 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.6848, allocations: 33.72 kB / 0.935 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.685, allocations: 334.8 kB / 0.9353 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.6851, allocations: 51.95 kB / 0.9354 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.6853, allocations: 111.6 kB / 0.9355 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.6856, allocations: 158.7 kB / 0.9356 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6856, allocations: 0 / 0.9356 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003699/0.6859, allocations: 185.2 kB / 0.9358 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.686, allocations: 14.44 kB / 0.9358 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.686, allocations: 0 / 0.9358 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.686, allocations: 4 kB / 0.9358 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.6861, allocations: 35.91 kB / 0.9359 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6862, allocations: 8.219 kB / 0.9359 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.6863, allocations: 27.73 kB / 0.9359 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.6864, allocations: 11.94 kB / 0.9359 GB, free: 5.227 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001215/0.6865, allocations: 149.7 kB / 0.9361 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.6866, allocations: 27.66 kB / 0.9361 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.6869, allocations: 134.9 kB / 0.9362 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6869, allocations: 8.375 kB / 0.9362 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.687, allocations: 0 / 0.9362 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.687, allocations: 4 kB / 0.9362 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007641/0.6877, allocations: 0.7652 MB / 0.937 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6877, allocations: 8.141 kB / 0.937 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.6879, allocations: 23.98 kB / 0.937 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6879, allocations: 4 kB / 0.937 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.6879, allocations: 4 kB / 0.937 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.6879, allocations: 7.984 kB / 0.937 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6879, allocations: 3.938 kB / 0.937 GB, free: 4 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.6884, allocations: 335.3 kB / 0.9373 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.6885, allocations: 116.8 kB / 0.9374 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.6886, allocations: 4 kB / 0.9375 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.6887, allocations: 7.984 kB / 0.9375 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.6888, allocations: 19.98 kB / 0.9375 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.6888, allocations: 4 kB / 0.9375 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001838/0.689, allocations: 209.9 kB / 0.9377 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.689, allocations: 0 / 0.9377 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003212/0.6893, allocations: 55.91 kB / 0.9377 GB, free: 3.219 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003245/0.6896, allocations: 136.4 kB / 0.9379 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.69, allocations: 123.8 kB / 0.938 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.69, allocations: 0 / 0.938 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.6902, allocations: 64.64 kB / 0.938 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.6909, allocations: 128.3 kB / 0.9382 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007656/0.6917, allocations: 488.2 kB / 0.9386 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.692, allocations: 0.7558 MB / 0.9394 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.6921, allocations: 58.25 kB / 0.9394 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.6921, allocations: 19.44 kB / 0.9394 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of SimCode: time 3.11e-07/0.6922, allocations: 3.938 kB / 0.9395 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of Templates: time 0.007861/0.7, allocations: 4.244 MB / 0.9436 GB, free: 13.22 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)