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.007127/0.007127, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001368/0.001368, allocations: 197.1 kB / 16.67 MB, free: 5.977 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.5768/0.5768, 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.001502/0.001502, allocations: 74.31 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1579, allocations: 69.09 MB / 0.5711 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5224/0.6803, allocations: 142.4 MB / 0.7101 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003457/0.6838, allocations: 2.664 MB / 0.7127 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004302/0.6843, allocations: 14.59 kB / 0.7128 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007243/0.6851, allocations: 165.2 kB / 0.7129 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006902/0.6858, allocations: 266 kB / 0.7132 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.687, allocations: 405 kB / 0.7136 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007916/0.6878, allocations: 0.7743 MB / 0.7143 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.6881, allocations: 236.1 kB / 0.7145 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004745/0.6886, allocations: 331.8 kB / 0.7149 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.689, allocations: 259.5 kB / 0.7151 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.689, allocations: 28.03 kB / 0.7151 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.6894, allocations: 170.2 kB / 0.7153 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.6895, allocations: 75.56 kB / 0.7154 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.6897, allocations: 177.1 kB / 0.7155 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000613/0.6904, allocations: 478.6 kB / 0.716 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6904, allocations: 0 / 0.716 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6904, allocations: 0 / 0.716 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.6904, allocations: 0 / 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.001071/0.6915, allocations: 0.6331 MB / 0.7166 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6915, allocations: 21.92 kB / 0.7166 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.6917, allocations: 39.5 kB / 0.7167 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.6922, allocations: 330.9 kB / 0.717 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.6923, allocations: 16.94 kB / 0.717 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.6923, allocations: 32.44 kB / 0.717 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.6928, allocations: 302.8 kB / 0.7173 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6929, allocations: 4 kB / 0.7173 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.6929, allocations: 8 kB / 0.7173 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.6929, allocations: 8 kB / 0.7173 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.6933, allocations: 209.5 kB / 0.7175 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.6951, allocations: 1.328 MB / 0.7188 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.6954, allocations: 122.7 kB / 0.7189 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.6955, allocations: 60.92 kB / 0.719 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004723/0.696, allocations: 283.2 kB / 0.7193 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.6961, allocations: 34.56 kB / 0.7193 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.6961, allocations: 3.938 kB / 0.7193 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005815/0.6967, allocations: 212.9 kB / 0.7195 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.6967, allocations: 110.8 kB / 0.7196 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.6971, allocations: 337.7 kB / 0.7199 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.6971, allocations: 25.7 kB / 0.72 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.6973, allocations: 195.8 kB / 0.7202 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.6973, allocations: 51.28 kB / 0.7202 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.6974, allocations: 49.61 kB / 0.7203 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6976, allocations: 346.8 kB / 0.7206 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.6977, allocations: 55.89 kB / 0.7206 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.698, allocations: 165.6 kB / 0.7208 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.6983, allocations: 227.8 kB / 0.721 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6983, allocations: 4 kB / 0.721 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004594/0.6988, allocations: 248.9 kB / 0.7213 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6988, allocations: 12.92 kB / 0.7213 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6989, allocations: 4.344 kB / 0.7213 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6989, allocations: 8 kB / 0.7213 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.6992, allocations: 67.89 kB / 0.7213 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6993, allocations: 7.938 kB / 0.7213 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.6995, allocations: 35.67 kB / 0.7214 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.6995, allocations: 16 kB / 0.7214 GB, free: 4.18 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.0001473/0.6996, allocations: 149.7 kB / 0.7215 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.6997, allocations: 31.62 kB / 0.7216 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.7002, allocations: 196.2 kB / 0.7218 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7002, allocations: 0 / 0.7218 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7002, allocations: 0 / 0.7218 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7002, allocations: 0 / 0.7218 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.7006, allocations: 317.3 kB / 0.7221 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7006, allocations: 3.938 kB / 0.7221 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.7009, allocations: 47.59 kB / 0.7221 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7009, allocations: 4 kB / 0.7221 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.7009, allocations: 3.984 kB / 0.7221 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7009, allocations: 0 / 0.7221 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7009, allocations: 0 / 0.7221 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.7015, allocations: 331.1 kB / 0.7224 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.7016, allocations: 112.8 kB / 0.7225 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.7016, allocations: 7.938 kB / 0.7225 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.7018, allocations: 15.98 kB / 0.7226 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.7019, allocations: 7.984 kB / 0.7226 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.7019, allocations: 7.984 kB / 0.7226 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002202/0.7021, allocations: 239.2 kB / 0.7228 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7021, allocations: 0 / 0.7228 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003687/0.7025, allocations: 88 kB / 0.7229 GB, free: 2.559 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.0003833/0.7029, allocations: 166.6 kB / 0.723 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.7033, allocations: 152.4 kB / 0.7232 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7033, allocations: 0 / 0.7232 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.7035, allocations: 67.09 kB / 0.7233 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.7043, allocations: 189.1 kB / 0.7234 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.7052, allocations: 0.5467 MB / 0.724 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.7055, allocations: 0.7716 MB / 0.7247 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.7057, allocations: 66.86 kB / 0.7248 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.7058, allocations: 31.42 kB / 0.7248 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.7058, allocations: 0 / 0.7248 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of Templates: time 0.01018/0.716, allocations: 5.919 MB / 0.7306 GB, free: 10.7 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)