Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.769/3.769, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002181/0.00218, allocations: 180.5 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.852/3.852, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 90.23 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007767/0.0007771, allocations: 11.81 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3339, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.923/2.257, allocations: 417.3 MB / 1.307 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/2.258, allocations: 72.78 kB / 1.307 GB, free: 2.219 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.1015/2.359, allocations: 17.41 MB / 1.324 GB, free: 4.051 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.257e-06/2.359, allocations: 0 / 1.324 GB, free: 4.051 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.118e-05/2.359, allocations: 0 / 1.324 GB, free: 4.051 MB / 0.823 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.0006991/2.36, allocations: 356.8 kB / 1.324 GB, free: 3.656 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/2.36, allocations: 8.031 kB / 1.324 GB, free: 3.648 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/2.36, allocations: 4.922 kB / 1.324 GB, free: 3.645 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/2.361, allocations: 160.4 kB / 1.325 GB, free: 3.449 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/2.361, allocations: 34.27 kB / 1.325 GB, free: 3.41 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/2.361, allocations: 384 / 1.325 GB, free: 3.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/2.361, allocations: 41.75 kB / 1.325 GB, free: 3.367 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/2.361, allocations: 11.81 kB / 1.325 GB, free: 3.355 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/2.361, allocations: 4 kB / 1.325 GB, free: 3.352 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/2.361, allocations: 3.984 kB / 1.325 GB, free: 3.348 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/2.361, allocations: 15.44 kB / 1.325 GB, free: 3.336 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/2.362, allocations: 333 kB / 1.325 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.577e-05/2.362, allocations: 26.56 kB / 1.325 GB, free: 2.914 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.466e-05/2.362, allocations: 4.859 kB / 1.325 GB, free: 2.906 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/2.362, allocations: 88.78 kB / 1.325 GB, free: 2.805 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/2.362, allocations: 34.5 kB / 1.325 GB, free: 2.762 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 3.757e-06/2.362, allocations: 4 kB / 1.325 GB, free: 2.758 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002477/2.363, allocations: 33.61 kB / 1.325 GB, free: 2.719 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/2.363, allocations: 55.53 kB / 1.325 GB, free: 2.652 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/2.363, allocations: 105.1 kB / 1.325 GB, free: 2.543 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/2.363, allocations: 25.7 kB / 1.325 GB, free: 2.512 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8e-05/2.363, allocations: 87.3 kB / 1.325 GB, free: 2.426 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/2.363, allocations: 0 / 1.325 GB, free: 2.426 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/2.363, allocations: 0 / 1.325 GB, free: 2.426 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001989/2.363, allocations: 314.9 kB / 1.326 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/2.363, allocations: 3.984 kB / 1.326 GB, free: 2.105 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/2.364, allocations: 29.03 kB / 1.326 GB, free: 2.074 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/2.364, allocations: 7.938 kB / 1.326 GB, free: 2.066 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/2.364, allocations: 0 / 1.326 GB, free: 2.066 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000195/2.364, allocations: 45.06 kB / 1.326 GB, free: 2.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/2.364, allocations: 8 kB / 1.326 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/2.364, allocations: 0 / 1.326 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/2.364, allocations: 0 / 1.326 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/2.364, allocations: 7.938 kB / 1.326 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/2.364, allocations: 12.05 kB / 1.326 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/2.364, allocations: 0 / 1.326 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/2.364, allocations: 3.562 kB / 1.326 GB, free: 1.992 MB / 0.823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001774/2.364, allocations: 113.8 kB / 1.326 GB, free: 1.871 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/2.364, allocations: 3.906 kB / 1.326 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/2.365, allocations: 120.5 kB / 1.326 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/2.365, allocations: 184.2 kB / 1.326 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001129/2.365, allocations: 176.3 kB / 1.326 GB, free: 1.379 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001164/2.365, allocations: 184.2 kB / 1.327 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/2.366, allocations: 408.5 kB / 1.327 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.875e-05/2.366, allocations: 105 kB / 1.327 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/2.366, allocations: 104.9 kB / 1.327 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/2.366, allocations: 184.2 kB / 1.327 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/2.366, allocations: 183.8 kB / 1.328 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001402/2.366, allocations: 180.3 kB / 1.328 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.845e-05/2.366, allocations: 176.3 kB / 1.328 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/2.367, allocations: 315.1 kB / 1.328 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/2.367, allocations: 186 kB / 1.328 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/2.367, allocations: 184.2 kB / 1.329 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/2.367, allocations: 113 kB / 1.329 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/2.367, allocations: 183.6 kB / 1.329 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/2.367, allocations: 105 kB / 1.329 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001106/2.368, allocations: 87.27 kB / 1.329 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.91e-07/2.368, allocations: 0 / 1.329 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006519/2.368, allocations: 23.5 kB / 1.329 GB, free: 14.55 MB / 0.8386 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005363/2.369, allocations: 226.4 kB / 1.329 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001481/2.369, allocations: 20.23 kB / 1.329 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/2.369, allocations: 0 / 1.329 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-06/2.369, allocations: 0 / 1.329 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/2.37, allocations: 0.522 MB / 1.33 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/2.37, allocations: 196.5 kB / 1.33 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/2.371, allocations: 0.6809 MB / 1.331 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001011/2.371, allocations: 7.984 kB / 1.331 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/2.371, allocations: 7.438 kB / 1.331 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of SimCode: time 1.172e-06/2.371, allocations: 0 / 1.331 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.007734/2.379, allocations: 1.098 MB / 1.332 GB, free: 11.75 MB / 0.8386 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)