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.001074/0.001074, allocations: 108.1 kB / 15.99 MB, free: 6.359 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.001032/0.001032, allocations: 192.4 kB / 16.91 MB, free: 6.195 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.245/1.245, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 283.7 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8978/0.8978, allocations: 169.2 MB / 0.4985 GB, free: 4.656 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001677, allocations: 98.38 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1637, allocations: 86.98 MB / 0.6803 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4567/0.6204, allocations: 159.1 MB / 0.8357 GB, free: 352 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004957/0.6254, allocations: 4.51 MB / 0.8401 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.6259, allocations: 11.94 kB / 0.8401 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.6263, allocations: 103.3 kB / 0.8402 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008186/0.6272, allocations: 314.7 kB / 0.8405 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.6279, allocations: 248.1 kB / 0.8407 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.6286, allocations: 0.569 MB / 0.8413 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.6289, allocations: 197.1 kB / 0.8415 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008849/0.6298, allocations: 446.4 kB / 0.8419 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.63, allocations: 199.2 kB / 0.8421 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.6301, allocations: 20 kB / 0.8421 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.6302, allocations: 75.89 kB / 0.8422 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.6304, allocations: 91.72 kB / 0.8423 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.6305, allocations: 123.4 kB / 0.8424 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.6307, allocations: 215.6 kB / 0.8426 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6308, allocations: 3.938 kB / 0.8426 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6308, allocations: 0 / 0.8426 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6308, allocations: 0 / 0.8426 GB, free: 9.246 MB / 0.6075 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.0007997/0.6316, allocations: 0.5379 MB / 0.8431 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6316, allocations: 12.03 kB / 0.8431 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.6317, allocations: 27.66 kB / 0.8432 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.632, allocations: 275.3 kB / 0.8434 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6321, allocations: 12 kB / 0.8434 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.6321, allocations: 20 kB / 0.8434 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.6325, allocations: 265.6 kB / 0.8437 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6326, allocations: 0 / 0.8437 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.6326, allocations: 11.94 kB / 0.8437 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6326, allocations: 4 kB / 0.8437 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.6329, allocations: 151.8 kB / 0.8439 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.6341, allocations: 1.371 MB / 0.8452 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.6344, allocations: 183.7 kB / 0.8454 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6346, allocations: 89.11 kB / 0.8455 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.6349, allocations: 121 kB / 0.8456 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.635, allocations: 43.38 kB / 0.8456 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.635, allocations: 0 / 0.8456 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000577/0.6356, allocations: 209.5 kB / 0.8458 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/0.6357, allocations: 187.9 kB / 0.846 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.6359, allocations: 283 kB / 0.8463 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.636, allocations: 29.7 kB / 0.8463 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.6361, allocations: 151.8 kB / 0.8464 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.6361, allocations: 35.7 kB / 0.8465 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.6362, allocations: 37.61 kB / 0.8465 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6363, allocations: 338.8 kB / 0.8468 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.6365, allocations: 39.97 kB / 0.8469 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.6366, allocations: 130.2 kB / 0.847 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.6369, allocations: 154.8 kB / 0.8471 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6369, allocations: 0 / 0.8471 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003432/0.6373, allocations: 189.1 kB / 0.8473 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.6373, allocations: 20.09 kB / 0.8473 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6373, allocations: 0.5469 kB / 0.8473 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6373, allocations: 4 kB / 0.8473 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.6375, allocations: 31.92 kB / 0.8474 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.6375, allocations: 0 / 0.8474 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.6377, allocations: 27.83 kB / 0.8474 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.6377, allocations: 11.98 kB / 0.8474 GB, free: 3.863 MB / 0.6075 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.0001294/0.6378, allocations: 157.7 kB / 0.8476 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.6379, allocations: 27.66 kB / 0.8476 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.6383, allocations: 123 kB / 0.8477 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6383, allocations: 4 kB / 0.8477 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6383, allocations: 0 / 0.8477 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6383, allocations: 7.984 kB / 0.8477 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.6391, allocations: 0.7767 MB / 0.8485 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6391, allocations: 5.375 kB / 0.8485 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6392, allocations: 19.98 kB / 0.8485 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.6392, allocations: 4 kB / 0.8485 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.6392, allocations: 4.047 kB / 0.8485 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.6392, allocations: 7.984 kB / 0.8485 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6393, allocations: 8.141 kB / 0.8485 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.6397, allocations: 339.3 kB / 0.8488 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.6398, allocations: 108.8 kB / 0.849 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.6399, allocations: 8 kB / 0.849 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.64, allocations: 10.11 kB / 0.849 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.6401, allocations: 15.94 kB / 0.849 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.6401, allocations: 4 kB / 0.849 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001876/0.6403, allocations: 209.9 kB / 0.8492 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6403, allocations: 4.062 kB / 0.8492 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003253/0.6406, allocations: 59.94 kB / 0.8493 GB, free: 1.84 MB / 0.6075 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.0003332/0.6409, allocations: 134.6 kB / 0.8494 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.6413, allocations: 124.1 kB / 0.8495 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6413, allocations: 7.875 kB / 0.8495 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.6414, allocations: 55.91 kB / 0.8496 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/0.6422, allocations: 135.8 kB / 0.8497 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.643, allocations: 0.5767 MB / 0.8503 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.6433, allocations: 0.7519 MB / 0.851 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.6434, allocations: 27.42 kB / 0.851 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.6434, allocations: 0 / 0.851 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.005986/0.6494, allocations: 3.794 MB / 0.8547 GB, free: 12.23 MB / 0.6231 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)