Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.008008/0.008008, allocations: 104.2 kB / 15.74 MB, free: 6.039 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.001615/0.001616, allocations: 200 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5759/0.5759, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 78.75 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1567, allocations: 69.09 MB / 0.5711 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5298/0.6865, allocations: 142.4 MB / 0.7101 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00431/0.6909, allocations: 2.667 MB / 0.7127 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004289/0.6914, allocations: 13.69 kB / 0.7128 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008293/0.6923, allocations: 159.4 kB / 0.7129 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008486/0.6931, allocations: 266.3 kB / 0.7132 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.6944, allocations: 417.6 kB / 0.7136 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.6954, allocations: 0.7614 MB / 0.7143 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004893/0.6959, allocations: 235.7 kB / 0.7145 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007116/0.6966, allocations: 339.3 kB / 0.7149 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004978/0.6972, allocations: 263.8 kB / 0.7151 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.713e-05/0.6972, allocations: 25.28 kB / 0.7151 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.6977, allocations: 160.7 kB / 0.7153 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.6978, allocations: 87.36 kB / 0.7154 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.6981, allocations: 174.7 kB / 0.7155 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006791/0.6988, allocations: 474.4 kB / 0.716 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6988, allocations: 0 / 0.716 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6988, allocations: 0 / 0.716 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.6989, allocations: 2.625 kB / 0.716 GB, free: 9.98 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001282/0.7002, allocations: 0.6366 MB / 0.7166 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7002, allocations: 18.64 kB / 0.7166 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.7005, allocations: 43.58 kB / 0.7167 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.7011, allocations: 326.6 kB / 0.717 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.7011, allocations: 16.94 kB / 0.717 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.7011, allocations: 20.56 kB / 0.717 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.7017, allocations: 310.7 kB / 0.7173 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.7018, allocations: 4 kB / 0.7173 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.7018, allocations: 8 kB / 0.7173 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.7019, allocations: 11.98 kB / 0.7173 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.7023, allocations: 217.1 kB / 0.7175 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.7044, allocations: 1.317 MB / 0.7188 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.7047, allocations: 122.6 kB / 0.7189 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.7049, allocations: 68.91 kB / 0.719 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005131/0.7054, allocations: 279.3 kB / 0.7193 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.7054, allocations: 30.56 kB / 0.7193 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.7054, allocations: 0 / 0.7193 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0006061/0.7061, allocations: 223.9 kB / 0.7195 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.7061, allocations: 106.8 kB / 0.7196 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.7065, allocations: 337.7 kB / 0.7199 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.7065, allocations: 25.7 kB / 0.72 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.7067, allocations: 195.8 kB / 0.7202 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.7067, allocations: 47.28 kB / 0.7202 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.7068, allocations: 53.61 kB / 0.7203 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.707, allocations: 342.8 kB / 0.7206 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.7072, allocations: 59.91 kB / 0.7206 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.7076, allocations: 161.7 kB / 0.7208 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.708, allocations: 231.7 kB / 0.721 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.708, allocations: 4 kB / 0.721 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005145/0.7085, allocations: 249 kB / 0.7213 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.7085, allocations: 8 kB / 0.7213 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7085, allocations: 4 kB / 0.7213 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7086, allocations: 8.344 kB / 0.7213 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.709, allocations: 67.89 kB / 0.7213 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.709, allocations: 11.88 kB / 0.7213 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.7092, allocations: 35.77 kB / 0.7214 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.7092, allocations: 12 kB / 0.7214 GB, free: 4.199 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (25): * Single equations (assignments): 25 * 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.0002427/0.7095, allocations: 153.7 kB / 0.7215 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.7096, allocations: 35.61 kB / 0.7216 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.71, allocations: 191.6 kB / 0.7218 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.71, allocations: 4 kB / 0.7218 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.71, allocations: 0 / 0.7218 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.7101, allocations: 7.922 kB / 0.7218 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.7105, allocations: 309.3 kB / 0.7221 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7105, allocations: 0 / 0.7221 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.7108, allocations: 53.02 kB / 0.7221 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.7108, allocations: 4 kB / 0.7221 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.7109, allocations: 0 / 0.7221 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7109, allocations: 0 / 0.7221 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7109, allocations: 0 / 0.7221 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.7116, allocations: 331 kB / 0.7224 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.355e-05/0.7117, allocations: 112.7 kB / 0.7225 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.7118, allocations: 4.062 kB / 0.7225 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.712, allocations: 15.98 kB / 0.7226 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.7121, allocations: 8.047 kB / 0.7226 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.7121, allocations: 8 kB / 0.7226 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002538/0.7123, allocations: 239.2 kB / 0.7228 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.7124, allocations: 0 / 0.7228 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004081/0.7128, allocations: 87.98 kB / 0.7229 GB, free: 2.574 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0004372/0.7132, allocations: 175.9 kB / 0.7231 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.7137, allocations: 147.8 kB / 0.7232 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7137, allocations: 0.6875 kB / 0.7232 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.7138, allocations: 67.91 kB / 0.7233 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/0.7148, allocations: 186.9 kB / 0.7234 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.7158, allocations: 0.5504 MB / 0.724 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.7163, allocations: 0.7717 MB / 0.7247 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.7165, allocations: 66.86 kB / 0.7248 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.7166, allocations: 27.44 kB / 0.7248 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.7166, allocations: 0 / 0.7248 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of Templates: time 0.01204/0.7286, allocations: 5.966 MB / 0.7306 GB, free: 10.66 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)