Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 108 kB / 15.6 MB, free: 128 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.00119/0.00119, allocations: 197.4 kB / 16.53 MB, free: 6.672 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 / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.739/0.739, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 64.66 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4386, allocations: 80.2 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002317/0.4409, allocations: 1.261 MB / 0.5813 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.4442, allocations: 2.927 MB / 0.5842 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.4442, allocations: 3.938 kB / 0.5842 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.4443, allocations: 5.344 kB / 0.5842 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.4443, allocations: 1.891 kB / 0.5842 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.4448, allocations: 102 kB / 0.5843 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.4449, allocations: 39.12 kB / 0.5843 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.4449, allocations: 2.953 kB / 0.5843 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.4454, allocations: 160 kB / 0.5845 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.4455, allocations: 18.55 kB / 0.5845 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.4455, allocations: 1.219 kB / 0.5845 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.4457, allocations: 62.97 kB / 0.5845 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.4457, allocations: 11.83 kB / 0.5846 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.4457, allocations: 16.88 kB / 0.5846 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.4459, allocations: 67.33 kB / 0.5846 GB, free: 1.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4459, allocations: 0.75 kB / 0.5846 GB, free: 1.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4459, allocations: 0 / 0.5846 GB, free: 1.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.446, allocations: 0.6562 kB / 0.5846 GB, free: 1.324 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003749/0.4463, allocations: 344 kB / 0.585 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4464, allocations: 9.969 kB / 0.585 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.4464, allocations: 3.344 kB / 0.585 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.457e-05/0.4465, allocations: 166.1 kB / 0.5851 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4465, allocations: 2.719 kB / 0.5851 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.4466, allocations: 12.53 kB / 0.5851 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4467, allocations: 61.5 kB / 0.5852 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4467, allocations: 0 / 0.5852 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4467, allocations: 5.094 kB / 0.5852 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4467, allocations: 1.891 kB / 0.5852 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.4468, allocations: 26.5 kB / 0.5852 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.447, allocations: 167.2 kB / 0.5854 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.4471, allocations: 54.08 kB / 0.5855 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.4471, allocations: 17.91 kB / 0.5855 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006516/0.4478, allocations: 0.5911 MB / 0.586 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.4478, allocations: 40.64 kB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.4478, allocations: 1.312 kB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006001/0.4484, allocations: 298.4 kB / 0.5864 GB, free: 15.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4485, allocations: 54.27 kB / 0.5864 GB, free: 15.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.4485, allocations: 95.45 kB / 0.5865 GB, free: 15.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.4486, allocations: 30.52 kB / 0.5865 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.4486, allocations: 90.05 kB / 0.5866 GB, free: 15.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.4487, allocations: 21.5 kB / 0.5866 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.4487, allocations: 30.92 kB / 0.5867 GB, free: 15.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4488, allocations: 318.9 kB / 0.587 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.4489, allocations: 13.12 kB / 0.587 GB, free: 14.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/0.4489, allocations: 57.27 kB / 0.587 GB, free: 14.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.449, allocations: 84.56 kB / 0.5871 GB, free: 14.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4491, allocations: 448 / 0.5871 GB, free: 14.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001591/0.4492, allocations: 94.41 kB / 0.5872 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4492, allocations: 5.531 kB / 0.5872 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4492, allocations: 1.531 kB / 0.5872 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4493, allocations: 7.188 kB / 0.5872 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.4494, allocations: 27.39 kB / 0.5873 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4494, allocations: 2.5 kB / 0.5873 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.4494, allocations: 9.906 kB / 0.5873 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4494, allocations: 3.188 kB / 0.5873 GB, free: 14.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.651e-05/0.4495, allocations: 123.7 kB / 0.5874 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4496, allocations: 2.188 kB / 0.5874 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.4496, allocations: 9.297 kB / 0.5874 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4496, allocations: 2.906 kB / 0.5874 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4496, allocations: 4 kB / 0.5874 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4496, allocations: 3.938 kB / 0.5874 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.4499, allocations: 173.8 kB / 0.5876 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4499, allocations: 0.8125 kB / 0.5876 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.45, allocations: 19.53 kB / 0.5876 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.45, allocations: 0 / 0.5876 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.45, allocations: 1.656 kB / 0.5876 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.45, allocations: 1.406 kB / 0.5876 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.45, allocations: 0 / 0.5876 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.4502, allocations: 184.3 kB / 0.5878 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.4503, allocations: 81.22 kB / 0.5879 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.4503, allocations: 0.7188 kB / 0.5879 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4504, allocations: 4.156 kB / 0.5879 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.4504, allocations: 7.812 kB / 0.5879 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4505, allocations: 6.156 kB / 0.5879 GB, free: 14.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.4505, allocations: 78.72 kB / 0.5879 GB, free: 13.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4505, allocations: 1.094 kB / 0.5879 GB, free: 13.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.4507, allocations: 17.72 kB / 0.588 GB, free: 13.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001202/0.4509, allocations: 98.42 kB / 0.5881 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.451, allocations: 47.78 kB / 0.5881 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.451, allocations: 0 / 0.5881 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.4511, allocations: 20.83 kB / 0.5881 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.4514, allocations: 4.703 kB / 0.5881 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.452, allocations: 336.5 kB / 0.5885 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.4522, allocations: 0.683 MB / 0.5891 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.4523, allocations: 5.219 kB / 0.5891 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.4523, allocations: 14.84 kB / 0.5891 GB, free: 12.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.753e-06/0.4523, allocations: 0.6562 kB / 0.5891 GB, free: 12.86 MB / 446.1 MB Notification: Performance of Templates: time 0.002828/0.4552, allocations: 0.6217 MB / 0.5897 GB, free: 12.77 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)