Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001273/0.001273, allocations: 187 kB / 17.34 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 60.06 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 80.22 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005381/0.1493, allocations: 3.723 MB / 0.6639 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002217/0.1495, allocations: 155.4 kB / 0.6641 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.1496, allocations: 7.938 kB / 0.6641 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1497, allocations: 0 / 0.6641 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.1498, allocations: 11.91 kB / 0.6641 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.1501, allocations: 87.69 kB / 0.6642 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.1502, allocations: 31.92 kB / 0.6642 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.1503, allocations: 0 / 0.6642 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.1503, allocations: 23.91 kB / 0.6643 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.1504, allocations: 11.94 kB / 0.6643 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1504, allocations: 0 / 0.6643 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.151, allocations: 187.4 kB / 0.6644 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.151, allocations: 12 kB / 0.6645 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.1511, allocations: 11.92 kB / 0.6645 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1512, allocations: 43.91 kB / 0.6645 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1512, allocations: 0 / 0.6645 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1512, allocations: 0 / 0.6645 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1512, allocations: 0 / 0.6645 GB, free: 5.996 MB / 0.4981 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.0004114/0.1517, allocations: 335.5 kB / 0.6648 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1517, allocations: 12.03 kB / 0.6648 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.1517, allocations: 0.9375 kB / 0.6648 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1519, allocations: 168.3 kB / 0.665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.1519, allocations: 30.27 kB / 0.665 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.152, allocations: 384 / 0.665 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1521, allocations: 57.53 kB / 0.6651 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1521, allocations: 0 / 0.6651 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1521, allocations: 4 kB / 0.6651 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.1522, allocations: 0 / 0.6651 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.1522, allocations: 11.98 kB / 0.6651 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.1527, allocations: 338 kB / 0.6654 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.726e-05/0.1527, allocations: 22.45 kB / 0.6654 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.1527, allocations: 12.92 kB / 0.6655 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.377e-05/0.1528, allocations: 81.11 kB / 0.6655 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1529, allocations: 34.55 kB / 0.6656 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1529, allocations: 0 / 0.6656 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.153, allocations: 37.7 kB / 0.6656 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.1531, allocations: 51.41 kB / 0.6657 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.1531, allocations: 105.8 kB / 0.6658 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1532, allocations: 25.7 kB / 0.6658 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.1532, allocations: 84.05 kB / 0.6659 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/0.1532, allocations: 11.84 kB / 0.6659 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1533, allocations: 13.72 kB / 0.6659 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1534, allocations: 322.9 kB / 0.6662 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.1534, allocations: 11.94 kB / 0.6662 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.1534, allocations: 13.72 kB / 0.6662 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.1535, allocations: 21.72 kB / 0.6662 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.1535, allocations: 3.984 kB / 0.6662 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.601e-05/0.1536, allocations: 41.64 kB / 0.6663 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1536, allocations: 8.062 kB / 0.6663 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1536, allocations: 4 kB / 0.6663 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1536, allocations: 0 / 0.6663 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.663e-05/0.1537, allocations: 7.984 kB / 0.6663 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1537, allocations: 4 kB / 0.6663 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1537, allocations: 4 kB / 0.6663 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1537, allocations: 4 kB / 0.6663 GB, free: 3.875 MB / 0.4981 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 8.154e-05/0.1538, allocations: 110.7 kB / 0.6664 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.1539, allocations: 4.281 kB / 0.6664 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.154, allocations: 132.8 kB / 0.6665 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.92e-05/0.1541, allocations: 184.2 kB / 0.6667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.767e-05/0.1541, allocations: 180.2 kB / 0.6669 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-05/0.1542, allocations: 176.3 kB / 0.6671 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1544, allocations: 413.1 kB / 0.6675 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/0.1545, allocations: 105 kB / 0.6676 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.1545, allocations: 105 kB / 0.6677 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.213e-05/0.1546, allocations: 184.2 kB / 0.6678 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.1546, allocations: 176.3 kB / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.203e-05/0.1547, allocations: 184.1 kB / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-05/0.1548, allocations: 184.3 kB / 0.6683 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1549, allocations: 311.7 kB / 0.6686 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.155, allocations: 178.1 kB / 0.6688 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.1551, allocations: 188.1 kB / 0.669 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1552, allocations: 109 kB / 0.6691 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.1553, allocations: 180.3 kB / 0.6693 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.1553, allocations: 112.9 kB / 0.6694 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.1554, allocations: 87.27 kB / 0.6695 GB, free: 428 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.1554, allocations: 0 / 0.6695 GB, free: 428 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002432/0.1556, allocations: 12 kB / 0.6695 GB, free: 416 kB / 0.4981 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.0002646/0.1559, allocations: 202.4 kB / 0.6697 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.156, allocations: 8 kB / 0.6697 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.156, allocations: 3.938 kB / 0.6697 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.156, allocations: 0 / 0.6697 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.1564, allocations: 459.7 kB / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.1567, allocations: 203.8 kB / 0.6703 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.157, allocations: 0.6806 MB / 0.671 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.157, allocations: 11.44 kB / 0.671 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.157, allocations: 0 / 0.671 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.002446/0.1595, allocations: 0.7605 MB / 0.6717 GB, free: 14.04 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)