Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 108 kB / 15.6 MB, free: 132 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.001639/0.001639, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 69.52 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.39, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005643/0.3957, allocations: 3.728 MB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002198/0.396, allocations: 155.5 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.396, allocations: 4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.3961, allocations: 3.984 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.3962, allocations: 11.92 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.3966, allocations: 79.69 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.3967, allocations: 27.92 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.3968, allocations: 3.984 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.3968, allocations: 27.86 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.3969, allocations: 11.98 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3969, allocations: 4 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005917/0.3975, allocations: 183.4 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.3976, allocations: 11.98 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.3976, allocations: 7.938 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3978, allocations: 48.17 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3978, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3978, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3978, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004369/0.3982, allocations: 339.4 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3983, allocations: 12.03 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.3983, allocations: 0.9375 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3985, allocations: 168.4 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.3985, allocations: 30.27 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/0.3985, allocations: 384 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3987, allocations: 49.56 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3987, allocations: 4 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3987, allocations: 4 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.3988, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.3988, allocations: 11.98 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.3993, allocations: 341.9 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.166e-05/0.3993, allocations: 22.52 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.3994, allocations: 8.859 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.3995, allocations: 85.17 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3995, allocations: 38.55 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3995, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.3996, allocations: 33.7 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.3997, allocations: 51.41 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.3998, allocations: 113.7 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3998, allocations: 25.7 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.3998, allocations: 80.27 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.3999, allocations: 15.84 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3999, allocations: 13.72 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4, allocations: 326.8 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.4, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.4001, allocations: 17.72 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.4001, allocations: 29.7 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4001, allocations: 0 / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.607e-05/0.4002, allocations: 41.64 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4002, allocations: 5.562 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4002, allocations: 4 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4002, allocations: 0 / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.4003, allocations: 7.984 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4003, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.4003, allocations: 4 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4003, allocations: 7.938 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.234e-05/0.4004, allocations: 113.8 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4004, allocations: 7.906 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.4006, allocations: 124.9 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/0.4006, allocations: 176.3 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.559e-05/0.4007, allocations: 180.2 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.743e-05/0.4008, allocations: 180.3 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.401, allocations: 413.1 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/0.401, allocations: 105 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.4011, allocations: 101 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.243e-05/0.4011, allocations: 184.2 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.4012, allocations: 180.3 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.495e-05/0.4013, allocations: 180.2 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.606e-05/0.4013, allocations: 184.5 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.4015, allocations: 307.7 kB / 1.076 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.4016, allocations: 182.1 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.4017, allocations: 188.2 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.4018, allocations: 113 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.4019, allocations: 176.3 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.4019, allocations: 104.9 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.402, allocations: 95.27 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.402, allocations: 0 / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002534/0.4023, allocations: 19.94 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0003082/0.4026, allocations: 199 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.827e-05/0.4027, allocations: 8 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4027, allocations: 3.938 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.4027, allocations: 3.938 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.4031, allocations: 467.8 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.4034, allocations: 174 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.4036, allocations: 0.6768 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.4037, allocations: 8 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.4037, allocations: 7.438 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.084e-06/0.4037, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.002772/0.4065, allocations: 0.6519 MB / 1.079 GB, free: 14.28 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)