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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 148 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.001941/0.001941, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7417/0.7417, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 62.33 kB / 0.5018 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.476, allocations: 80.2 MB / 0.5801 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005003/0.4811, allocations: 3.726 MB / 0.5837 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.4813, allocations: 153.8 kB / 0.5839 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.4813, allocations: 1.406 kB / 0.5839 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.4814, allocations: 4.781 kB / 0.5839 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.98e-05/0.4815, allocations: 17.03 kB / 0.5839 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.4819, allocations: 82.05 kB / 0.584 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.482, allocations: 40.78 kB / 0.584 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.482, allocations: 6.641 kB / 0.584 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.4821, allocations: 11.39 kB / 0.584 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.4821, allocations: 12.75 kB / 0.584 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.4822, allocations: 4.797 kB / 0.584 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.4827, allocations: 185.6 kB / 0.5842 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.4828, allocations: 12.16 kB / 0.5842 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.4828, allocations: 14.59 kB / 0.5842 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.4829, allocations: 45.06 kB / 0.5843 GB, free: 1.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.483, allocations: 0 / 0.5843 GB, free: 1.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.483, allocations: 0 / 0.5843 GB, free: 1.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.483, allocations: 0 / 0.5843 GB, free: 1.617 MB / 430.1 MB 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.0003579/0.4833, allocations: 334.6 kB / 0.5846 GB, free: 1.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4834, allocations: 9.781 kB / 0.5846 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.4834, allocations: 1.875 kB / 0.5846 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.4835, allocations: 163.4 kB / 0.5848 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.4836, allocations: 36.48 kB / 0.5848 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.4836, allocations: 2.594 kB / 0.5848 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.4837, allocations: 48.16 kB / 0.5848 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4838, allocations: 0 / 0.5848 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4838, allocations: 0.8438 kB / 0.5848 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.4838, allocations: 5.562 kB / 0.5849 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.4838, allocations: 13.19 kB / 0.5849 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.4842, allocations: 339.8 kB / 0.5852 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.728e-05/0.4842, allocations: 17.62 kB / 0.5852 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.4843, allocations: 9.734 kB / 0.5852 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/0.4843, allocations: 84.47 kB / 0.5853 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.4844, allocations: 37.06 kB / 0.5853 GB, free: 448 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4844, allocations: 0 / 0.5853 GB, free: 448 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.4845, allocations: 33.03 kB / 0.5854 GB, free: 416 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.4845, allocations: 56 kB / 0.5854 GB, free: 348 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.544e-05/0.4846, allocations: 103.4 kB / 0.5855 GB, free: 244 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.4846, allocations: 25.7 kB / 0.5855 GB, free: 212 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.4846, allocations: 89.86 kB / 0.5856 GB, free: 120 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-06/0.4846, allocations: 10.06 kB / 0.5856 GB, free: 112 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.4847, allocations: 14.39 kB / 0.5856 GB, free: 96 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4848, allocations: 320.2 kB / 0.586 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.4848, allocations: 7.594 kB / 0.586 GB, free: 15.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.4848, allocations: 22.67 kB / 0.586 GB, free: 15.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.4849, allocations: 21.44 kB / 0.586 GB, free: 15.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4849, allocations: 1.125 kB / 0.586 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.389e-05/0.485, allocations: 49.2 kB / 0.5861 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.485, allocations: 5.719 kB / 0.5861 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.485, allocations: 5.578 kB / 0.5861 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.485, allocations: 1.156 kB / 0.5861 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.485, allocations: 5.281 kB / 0.5861 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4851, allocations: 0.8125 kB / 0.5861 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.4851, allocations: 5.531 kB / 0.5861 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4851, allocations: 1.75 kB / 0.5861 GB, free: 15.68 MB / 446.1 MB 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.113e-05/0.4852, allocations: 114.3 kB / 0.5862 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.4852, allocations: 1.656 kB / 0.5862 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.4853, allocations: 123.2 kB / 0.5863 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.124e-05/0.4854, allocations: 182.1 kB / 0.5865 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.379e-05/0.4854, allocations: 177.8 kB / 0.5866 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.042e-05/0.4855, allocations: 185.4 kB / 0.5868 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.4857, allocations: 408.4 kB / 0.5872 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-05/0.4857, allocations: 114.4 kB / 0.5873 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.4858, allocations: 103.5 kB / 0.5874 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.693e-05/0.4858, allocations: 185.7 kB / 0.5876 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.4859, allocations: 181.7 kB / 0.5878 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.207e-05/0.486, allocations: 178.4 kB / 0.5879 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.934e-05/0.486, allocations: 181.5 kB / 0.5881 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.4861, allocations: 313.7 kB / 0.5884 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.4862, allocations: 180.4 kB / 0.5886 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.4863, allocations: 183.3 kB / 0.5888 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.4864, allocations: 110.1 kB / 0.5889 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.4865, allocations: 182.9 kB / 0.589 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.4866, allocations: 106.3 kB / 0.5891 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.4866, allocations: 85.77 kB / 0.5892 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4866, allocations: 0 / 0.5892 GB, free: 12.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.4869, allocations: 16.56 kB / 0.5892 GB, free: 12.29 MB / 446.1 MB 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.0002969/0.4872, allocations: 207.7 kB / 0.5894 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.703e-05/0.4873, allocations: 7.047 kB / 0.5894 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4873, allocations: 0 / 0.5894 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.4873, allocations: 0.8438 kB / 0.5894 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.4878, allocations: 468.5 kB / 0.5899 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.4881, allocations: 184 kB / 0.5901 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4885, allocations: 0.6751 MB / 0.5907 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.4886, allocations: 4.359 kB / 0.5907 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.4886, allocations: 10.38 kB / 0.5907 GB, free: 10.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4886, allocations: 0 / 0.5907 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002723/0.4913, allocations: 0.6501 MB / 0.5914 GB, free: 10.66 MB / 446.1 MB 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)