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.001458/0.001458, allocations: 102.2 kB / 16.27 MB, free: 6 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.001447/0.001447, allocations: 191 kB / 17.2 MB, free: 5.609 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002473/0.002473, allocations: 292.1 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 178.5 MB / 0.5079 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 95.84 kB / 0.6071 GB, free: 9.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1921, allocations: 89.14 MB / 0.6942 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4395/0.6317, allocations: 161.3 MB / 0.8517 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007215/0.6389, allocations: 4.544 MB / 0.8562 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004435/0.6394, allocations: 11.09 kB / 0.8562 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.6399, allocations: 128.7 kB / 0.8563 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009133/0.6409, allocations: 331.6 kB / 0.8566 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.6417, allocations: 270.2 kB / 0.8569 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.6423, allocations: 0.5563 MB / 0.8574 GB, free: 376 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.6426, allocations: 208.3 kB / 0.8576 GB, free: 252 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009296/0.6436, allocations: 453.7 kB / 0.858 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.6438, allocations: 191.2 kB / 0.8582 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.6439, allocations: 19.06 kB / 0.8582 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.6441, allocations: 82.56 kB / 0.8583 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.6442, allocations: 88.59 kB / 0.8584 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.6443, allocations: 123.4 kB / 0.8585 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.6447, allocations: 290.1 kB / 0.8588 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6447, allocations: 0 / 0.8588 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6447, allocations: 0 / 0.8588 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6447, allocations: 1.375 kB / 0.8588 GB, free: 15.5 MB / 0.6231 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.000776/0.6455, allocations: 0.5282 MB / 0.8593 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.6455, allocations: 9.406 kB / 0.8593 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.6456, allocations: 33.33 kB / 0.8594 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.646, allocations: 278.2 kB / 0.8596 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.646, allocations: 11.91 kB / 0.8596 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.6461, allocations: 24.53 kB / 0.8597 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.6465, allocations: 260.1 kB / 0.8599 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.6465, allocations: 0 / 0.8599 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.6465, allocations: 10.66 kB / 0.8599 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.6465, allocations: 5.625 kB / 0.8599 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.6469, allocations: 148.8 kB / 0.8601 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.6483, allocations: 1.378 MB / 0.8614 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.6486, allocations: 182.9 kB / 0.8616 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.6488, allocations: 100.1 kB / 0.8617 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.6491, allocations: 116.1 kB / 0.8618 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.6491, allocations: 40.88 kB / 0.8618 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.6492, allocations: 0 / 0.8618 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0005858/0.6497, allocations: 217.5 kB / 0.862 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.6499, allocations: 186.4 kB / 0.8622 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.6501, allocations: 289.3 kB / 0.8625 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6502, allocations: 25.7 kB / 0.8625 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.6503, allocations: 149 kB / 0.8627 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.6503, allocations: 32.53 kB / 0.8627 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.6504, allocations: 35.36 kB / 0.8627 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6505, allocations: 339.7 kB / 0.863 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.6507, allocations: 43.64 kB / 0.8631 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.6509, allocations: 118.9 kB / 0.8632 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.6511, allocations: 157.3 kB / 0.8634 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6512, allocations: 0 / 0.8634 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003563/0.6515, allocations: 192.7 kB / 0.8635 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6515, allocations: 9.5 kB / 0.8635 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6516, allocations: 2.812 kB / 0.8635 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6516, allocations: 2.75 kB / 0.8635 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.6517, allocations: 39.78 kB / 0.8636 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6517, allocations: 3.406 kB / 0.8636 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.6519, allocations: 25.94 kB / 0.8636 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.6519, allocations: 11.7 kB / 0.8636 GB, free: 11.17 MB / 0.6231 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.0001331/0.652, allocations: 138.8 kB / 0.8638 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.6522, allocations: 27.97 kB / 0.8638 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.6525, allocations: 136 kB / 0.8639 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.6525, allocations: 6.453 kB / 0.8639 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6525, allocations: 3.938 kB / 0.8639 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6525, allocations: 2.344 kB / 0.8639 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008349/0.6534, allocations: 0.7751 MB / 0.8647 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6534, allocations: 3.469 kB / 0.8647 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.6535, allocations: 19.73 kB / 0.8647 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.6535, allocations: 6.328 kB / 0.8647 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.6535, allocations: 3.125 kB / 0.8647 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6535, allocations: 2.781 kB / 0.8647 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6535, allocations: 3.531 kB / 0.8647 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.654, allocations: 348.2 kB / 0.8651 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.6542, allocations: 107.7 kB / 0.8652 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.6542, allocations: 10.09 kB / 0.8652 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.6543, allocations: 9.266 kB / 0.8652 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.6544, allocations: 10 kB / 0.8652 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.6544, allocations: 6.125 kB / 0.8652 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001842/0.6546, allocations: 214.4 kB / 0.8654 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6546, allocations: 0 / 0.8654 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003042/0.6549, allocations: 44.88 kB / 0.8654 GB, free: 9.602 MB / 0.6231 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.0003054/0.6552, allocations: 153.2 kB / 0.8656 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.6555, allocations: 119.9 kB / 0.8657 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6555, allocations: 2.75 kB / 0.8657 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.6557, allocations: 63.59 kB / 0.8658 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.6564, allocations: 130.4 kB / 0.8659 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/0.6572, allocations: 0.5243 MB / 0.8664 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.6576, allocations: 0.7491 MB / 0.8671 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.6576, allocations: 24.95 kB / 0.8672 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.6576, allocations: 4 kB / 0.8672 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of Templates: time 0.006136/0.6638, allocations: 3.794 MB / 0.8709 GB, free: 4.973 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)