Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001043/0.001043, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.00111/0.00111, allocations: 193.7 kB / 16.13 MB, free: 6.605 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.499/1.499, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.2 MB / 0.5484 GB, free: 13.64 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 63.75 kB / 0.6708 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2498, allocations: 114.5 MB / 0.7826 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005105/0.2549, allocations: 3.786 MB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.2551, allocations: 155.5 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.2552, allocations: 0 / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.704e-05/0.2553, allocations: 3.938 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.2554, allocations: 11.92 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2557, allocations: 67.78 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.2557, allocations: 51.88 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.2558, allocations: 8 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.2558, allocations: 19.88 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.2559, allocations: 15.91 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.2559, allocations: 4 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005466/0.2565, allocations: 187.5 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.2566, allocations: 8 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.2566, allocations: 11.98 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.2567, allocations: 52.05 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2567, allocations: 0 / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2567, allocations: 0 / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2567, allocations: 0 / 0.7869 GB, free: 9.617 MB / 0.6075 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.0003873/0.2571, allocations: 331.5 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2572, allocations: 12.03 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.2572, allocations: 0.9375 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2573, allocations: 164.3 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.2574, allocations: 38.25 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.2574, allocations: 384 / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.2576, allocations: 45.62 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2576, allocations: 7.938 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2576, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.2576, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/0.2577, allocations: 11.98 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.2581, allocations: 341.9 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.2581, allocations: 18.58 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.2582, allocations: 12.84 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.2583, allocations: 81.17 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2583, allocations: 34.5 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2583, allocations: 0 / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.2584, allocations: 37.78 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2585, allocations: 55.44 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.2586, allocations: 109.8 kB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2586, allocations: 25.7 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.2586, allocations: 84.05 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-06/0.2587, allocations: 0 / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.2587, allocations: 17.72 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.2588, allocations: 322.8 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.2588, allocations: 4 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.2589, allocations: 21.66 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.2589, allocations: 17.72 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2589, allocations: 0 / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.063e-05/0.259, allocations: 49.62 kB / 0.7887 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.259, allocations: 6.812 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.259, allocations: 8.062 kB / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.259, allocations: 3.938 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/0.2591, allocations: 7.984 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2591, allocations: 0 / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.2591, allocations: 7.906 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2591, allocations: 8 kB / 0.7887 GB, free: 7.496 MB / 0.6075 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 6.626e-05/0.2592, allocations: 110.4 kB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2593, allocations: 4 kB / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2594, allocations: 124.9 kB / 0.7889 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/0.2594, allocations: 180.3 kB / 0.7891 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.768e-05/0.2595, allocations: 180.2 kB / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.783e-05/0.2596, allocations: 176.3 kB / 0.7895 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.2598, allocations: 409.2 kB / 0.7899 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-05/0.2598, allocations: 108.9 kB / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.2599, allocations: 109 kB / 0.7901 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-05/0.2599, allocations: 180.2 kB / 0.7902 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.26, allocations: 176.3 kB / 0.7904 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.928e-05/0.2601, allocations: 176.3 kB / 0.7906 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-05/0.2602, allocations: 184.2 kB / 0.7907 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.2603, allocations: 319.7 kB / 0.791 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.2604, allocations: 178.1 kB / 0.7912 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.2605, allocations: 180.3 kB / 0.7914 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2606, allocations: 112.9 kB / 0.7915 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.2607, allocations: 180.3 kB / 0.7917 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.2607, allocations: 112.9 kB / 0.7918 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.2608, allocations: 87.27 kB / 0.7919 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2608, allocations: 0 / 0.7919 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002421/0.261, allocations: 19.94 kB / 0.7919 GB, free: 4.035 MB / 0.6075 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.0002786/0.2613, allocations: 198.4 kB / 0.7921 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.413e-05/0.2614, allocations: 12 kB / 0.7921 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2614, allocations: 0 / 0.7921 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.2614, allocations: 0 / 0.7921 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.2618, allocations: 0.5301 MB / 0.7926 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.2621, allocations: 187.7 kB / 0.7928 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2624, allocations: 0.677 MB / 0.7934 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.347e-05/0.2624, allocations: 7 kB / 0.7934 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.2624, allocations: 7.438 kB / 0.7935 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2624, allocations: 0 / 0.7935 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.002637/0.2651, allocations: 0.5854 MB / 0.794 GB, free: 1.785 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)