Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009841/0.0009842, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.418/1.418, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.716/0.716, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003063, allocations: 8 kB / 495.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 77.52 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3978/0.5284, allocations: 146.5 MB / 0.7024 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.5333, allocations: 4.218 MB / 0.7065 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.5335, allocations: 11.94 kB / 0.7065 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.5339, allocations: 91.34 kB / 0.7066 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006496/0.5345, allocations: 254.8 kB / 0.7068 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.5352, allocations: 238.1 kB / 0.7071 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006847/0.5359, allocations: 0.6587 MB / 0.7077 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.5362, allocations: 157.3 kB / 0.7079 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.537, allocations: 366.4 kB / 0.7082 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.5374, allocations: 183.3 kB / 0.7084 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.5374, allocations: 12 kB / 0.7084 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.5376, allocations: 75.81 kB / 0.7085 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.5377, allocations: 75.77 kB / 0.7085 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.5378, allocations: 69.58 kB / 0.7086 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.5381, allocations: 207.5 kB / 0.7088 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5381, allocations: 4 kB / 0.7088 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5381, allocations: 0 / 0.7088 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.5381, allocations: 0 / 0.7088 GB, free: 14.29 MB / 0.5294 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.0006599/0.5388, allocations: 0.4913 MB / 0.7093 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.5388, allocations: 8.031 kB / 0.7093 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.5389, allocations: 27.62 kB / 0.7093 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.5392, allocations: 271.5 kB / 0.7096 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5392, allocations: 8 kB / 0.7096 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.5393, allocations: 24 kB / 0.7096 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.5397, allocations: 273.8 kB / 0.7099 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5397, allocations: 0 / 0.7099 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.5398, allocations: 7.984 kB / 0.7099 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.5398, allocations: 12 kB / 0.7099 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.5401, allocations: 162.5 kB / 0.71 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.5414, allocations: 1.375 MB / 0.7114 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.5417, allocations: 191.7 kB / 0.7116 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.5418, allocations: 97.05 kB / 0.7117 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/0.5422, allocations: 129.1 kB / 0.7118 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.5422, allocations: 46.48 kB / 0.7118 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.5422, allocations: 0 / 0.7118 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005818/0.5428, allocations: 217.8 kB / 0.712 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.5429, allocations: 187.9 kB / 0.7122 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.5432, allocations: 287 kB / 0.7125 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.5432, allocations: 25.7 kB / 0.7125 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5433, allocations: 151.8 kB / 0.7127 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.5434, allocations: 47.45 kB / 0.7127 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-06/0.5434, allocations: 4 kB / 0.7127 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5435, allocations: 338.8 kB / 0.713 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.5437, allocations: 47.97 kB / 0.7131 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.5438, allocations: 121.4 kB / 0.7132 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.544, allocations: 67.91 kB / 0.7133 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.544, allocations: 0 / 0.7133 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003672/0.5444, allocations: 201.3 kB / 0.7134 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5444, allocations: 6.344 kB / 0.7135 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.5444, allocations: 7.938 kB / 0.7135 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.5444, allocations: 0 / 0.7135 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5446, allocations: 31.98 kB / 0.7135 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5446, allocations: 4 kB / 0.7135 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.5448, allocations: 31.89 kB / 0.7135 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.5448, allocations: 12 kB / 0.7135 GB, free: 9.031 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.5449, allocations: 153.7 kB / 0.7137 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.5451, allocations: 23.72 kB / 0.7137 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.5454, allocations: 139 kB / 0.7138 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5454, allocations: 4 kB / 0.7138 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5454, allocations: 1.812 kB / 0.7138 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5454, allocations: 11.97 kB / 0.7139 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/0.5463, allocations: 0.7691 MB / 0.7146 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5463, allocations: 4 kB / 0.7146 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.5464, allocations: 27.98 kB / 0.7146 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5464, allocations: 3.938 kB / 0.7146 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5464, allocations: 4 kB / 0.7146 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.5464, allocations: 3.953 kB / 0.7147 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5465, allocations: 7.938 kB / 0.7147 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.547, allocations: 351.5 kB / 0.715 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/0.5471, allocations: 108.8 kB / 0.7151 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.5471, allocations: 7.984 kB / 0.7151 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.5473, allocations: 8.688 kB / 0.7151 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.5473, allocations: 16 kB / 0.7151 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.5473, allocations: 8 kB / 0.7151 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001824/0.5475, allocations: 214 kB / 0.7153 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5475, allocations: 3.938 kB / 0.7153 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003385/0.5479, allocations: 52 kB / 0.7154 GB, free: 6.992 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002742/0.5482, allocations: 137.6 kB / 0.7155 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.5485, allocations: 131.8 kB / 0.7157 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5485, allocations: 8 kB / 0.7157 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.5487, allocations: 64.66 kB / 0.7157 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.5494, allocations: 131.1 kB / 0.7158 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.5501, allocations: 0.5512 MB / 0.7164 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.5504, allocations: 0.756 MB / 0.7171 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.5506, allocations: 54.23 kB / 0.7172 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.5506, allocations: 23.44 kB / 0.7172 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of SimCode: time 2.174e-06/0.5506, allocations: 0 / 0.7172 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of Templates: time 0.00751/0.5582, allocations: 3.867 MB / 0.721 GB, free: 1.293 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)