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.00108/0.00108, allocations: 101.8 kB / 16.35 MB, free: 5.879 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.001051/0.001051, allocations: 194.7 kB / 17.29 MB, free: 5.516 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.338/1.338, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.748/1.748, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001439/0.001439, allocations: 71.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2157, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.3896/0.6054, allocations: 3.717 MB / 0.7884 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.6056, allocations: 161.9 kB / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.6057, allocations: 0 / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.6058, allocations: 2.156 kB / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.6059, allocations: 12.7 kB / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.6063, allocations: 67.14 kB / 0.7886 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.6064, allocations: 34.67 kB / 0.7886 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.6064, allocations: 4.281 kB / 0.7887 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.6065, allocations: 11.84 kB / 0.7887 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.6065, allocations: 14.08 kB / 0.7887 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.6065, allocations: 2.844 kB / 0.7887 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.6071, allocations: 186.8 kB / 0.7889 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.6071, allocations: 5.391 kB / 0.7889 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.6072, allocations: 12.31 kB / 0.7889 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.6073, allocations: 42.56 kB / 0.7889 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6073, allocations: 0.9844 kB / 0.7889 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6073, allocations: 2.781 kB / 0.7889 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.6073, allocations: 0 / 0.7889 GB, free: 46.54 MB / 0.6544 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.000365/0.6077, allocations: 339.2 kB / 0.7892 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6078, allocations: 13.47 kB / 0.7893 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.6078, allocations: 1.594 kB / 0.7893 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.6079, allocations: 169.3 kB / 0.7894 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.608, allocations: 30.2 kB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.608, allocations: 3.312 kB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.6081, allocations: 48.17 kB / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6081, allocations: 0 / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6081, allocations: 0 / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.6082, allocations: 4.547 kB / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.6082, allocations: 20.05 kB / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.6086, allocations: 330.9 kB / 0.7898 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.018e-05/0.6086, allocations: 20.12 kB / 0.7899 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.6087, allocations: 5.359 kB / 0.7899 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.509e-05/0.6087, allocations: 86.42 kB / 0.7899 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.6088, allocations: 34.75 kB / 0.79 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.6088, allocations: 1.031 kB / 0.79 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.6089, allocations: 43.73 kB / 0.79 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.6089, allocations: 52.69 kB / 0.7901 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.609, allocations: 99.05 kB / 0.7902 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.609, allocations: 28.89 kB / 0.7902 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.6091, allocations: 96.2 kB / 0.7903 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-06/0.6091, allocations: 0.625 kB / 0.7903 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.6091, allocations: 17.12 kB / 0.7903 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.6092, allocations: 323.4 kB / 0.7906 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.6092, allocations: 2.531 kB / 0.7906 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.6092, allocations: 18.94 kB / 0.7906 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.6092, allocations: 28.28 kB / 0.7907 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6092, allocations: 0.5312 kB / 0.7907 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.179e-05/0.6093, allocations: 47.55 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.6093, allocations: 6.562 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.6093, allocations: 1.125 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6094, allocations: 2.906 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.6094, allocations: 5.875 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6094, allocations: 6.594 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.6094, allocations: 4.969 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.6095, allocations: 3 kB / 0.7907 GB, free: 44.68 MB / 0.6544 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 4.632e-05/0.6095, allocations: 110.9 kB / 0.7908 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.6095, allocations: 2.906 kB / 0.7908 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.6096, allocations: 125.8 kB / 0.791 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.6097, allocations: 182.2 kB / 0.7911 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/0.6097, allocations: 184.3 kB / 0.7913 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.6097, allocations: 176.3 kB / 0.7915 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.6099, allocations: 413.5 kB / 0.7919 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.6099, allocations: 104.1 kB / 0.792 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.6099, allocations: 108.7 kB / 0.7921 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.463e-05/0.6099, allocations: 177.2 kB / 0.7922 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.61, allocations: 179.8 kB / 0.7924 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.45e-05/0.61, allocations: 189.6 kB / 0.7926 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.39e-05/0.61, allocations: 179.8 kB / 0.7928 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.891e-05/0.6101, allocations: 310.5 kB / 0.7931 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.6101, allocations: 180.2 kB / 0.7932 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.6102, allocations: 186.1 kB / 0.7934 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6103, allocations: 107.6 kB / 0.7935 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.6103, allocations: 186.2 kB / 0.7937 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.6104, allocations: 101 kB / 0.7938 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.6104, allocations: 86.91 kB / 0.7939 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6104, allocations: 0 / 0.7939 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002335/0.6107, allocations: 16.41 kB / 0.7939 GB, free: 41.37 MB / 0.6544 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.0002663/0.6109, allocations: 204.8 kB / 0.7941 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.383e-05/0.611, allocations: 15.58 kB / 0.7941 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.611, allocations: 0 / 0.7941 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.611, allocations: 2.906 kB / 0.7941 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.6113, allocations: 461.1 kB / 0.7945 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.6116, allocations: 180.9 kB / 0.7947 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.6117, allocations: 0.6742 MB / 0.7954 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.6118, allocations: 6.938 kB / 0.7954 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.6118, allocations: 10.06 kB / 0.7954 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/0.6118, allocations: 4 kB / 0.7954 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.002558/0.6144, allocations: 0.5986 MB / 0.796 GB, free: 39.84 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)