Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008855/0.0008855, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009045/0.0009046, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6532/0.6532, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 8 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3379, allocations: 81.58 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001085/0.339, allocations: 1.092 MB / 0.5841 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.3416, allocations: 2.738 MB / 0.5868 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.3416, allocations: 0 / 0.5868 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.742e-05/0.3417, allocations: 12.58 kB / 0.5868 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.3418, allocations: 42.2 kB / 0.5869 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.3422, allocations: 152.8 kB / 0.587 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.3424, allocations: 271.1 kB / 0.5873 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.3425, allocations: 7.875 kB / 0.5873 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.3426, allocations: 91.31 kB / 0.5874 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3427, allocations: 142.4 kB / 0.5875 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.3428, allocations: 11.5 kB / 0.5875 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.3431, allocations: 153.7 kB / 0.5876 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.3432, allocations: 92.33 kB / 0.5877 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.3433, allocations: 49.36 kB / 0.5878 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3435, allocations: 194.7 kB / 0.588 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3435, allocations: 1.094 kB / 0.588 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3435, allocations: 4 kB / 0.588 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3436, allocations: 0 / 0.588 GB, free: 0.8008 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006214/0.3442, allocations: 0.5199 MB / 0.5885 GB, free: 388 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.3442, allocations: 9.812 kB / 0.5885 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.737e-05/0.3443, allocations: 22.03 kB / 0.5885 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3445, allocations: 238.9 kB / 0.5887 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.3446, allocations: 27.33 kB / 0.5888 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.3446, allocations: 13.97 kB / 0.5888 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.3452, allocations: 317.1 kB / 0.5891 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3452, allocations: 3.938 kB / 0.5891 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3452, allocations: 6.562 kB / 0.5891 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3453, allocations: 2.656 kB / 0.5891 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.3468, allocations: 0.8093 MB / 0.5899 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.3472, allocations: 309.2 kB / 0.5902 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.3488, allocations: 0.7746 MB / 0.5909 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.3493, allocations: 260.9 kB / 0.5912 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.3497, allocations: 390.9 kB / 0.5916 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3497, allocations: 41.91 kB / 0.5916 GB, free: 15.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.684e-06/0.3497, allocations: 0 / 0.5916 GB, free: 15.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.0016/0.3513, allocations: 0.7328 MB / 0.5923 GB, free: 14.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.3513, allocations: 56.45 kB / 0.5924 GB, free: 14.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3515, allocations: 126.8 kB / 0.5925 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3515, allocations: 35.2 kB / 0.5925 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.3515, allocations: 92.31 kB / 0.5926 GB, free: 14.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3516, allocations: 125.5 kB / 0.5927 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.3517, allocations: 5.094 kB / 0.5927 GB, free: 14.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3518, allocations: 324.6 kB / 0.593 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.3522, allocations: 223.4 kB / 0.5933 GB, free: 14.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.3527, allocations: 234.5 kB / 0.5935 GB, free: 14.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.3531, allocations: 205.3 kB / 0.5937 GB, free: 14.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3531, allocations: 0 / 0.5937 GB, free: 14.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009857/0.3541, allocations: 0.506 MB / 0.5942 GB, free: 13.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3541, allocations: 5.516 kB / 0.5942 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.3542, allocations: 4 kB / 0.5942 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3542, allocations: 1.312 kB / 0.5942 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.3545, allocations: 111.3 kB / 0.5943 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3545, allocations: 5.75 kB / 0.5943 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.3547, allocations: 62.64 kB / 0.5944 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.3547, allocations: 19.12 kB / 0.5944 GB, free: 13.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001208/0.3549, allocations: 143.4 kB / 0.5945 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3549, allocations: 17.27 kB / 0.5945 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.356, allocations: 0.5806 MB / 0.5951 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.356, allocations: 4.344 kB / 0.5951 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3561, allocations: 0 / 0.5951 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3561, allocations: 2.062 kB / 0.5951 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.3564, allocations: 325.8 kB / 0.5954 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3564, allocations: 0 / 0.5954 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.3567, allocations: 108.1 kB / 0.5955 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3567, allocations: 5.766 kB / 0.5955 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.3568, allocations: 12.53 kB / 0.5955 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3568, allocations: 1.125 kB / 0.5955 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3568, allocations: 1.094 kB / 0.5955 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.3577, allocations: 0.5474 MB / 0.5961 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.3578, allocations: 94.05 kB / 0.5962 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.3578, allocations: 6.219 kB / 0.5962 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.358, allocations: 53.52 kB / 0.5962 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.3582, allocations: 118.5 kB / 0.5963 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.3583, allocations: 15.89 kB / 0.5963 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.3583, allocations: 98.73 kB / 0.5964 GB, free: 12.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3583, allocations: 0 / 0.5964 GB, free: 12.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.3587, allocations: 117.8 kB / 0.5965 GB, free: 12.8 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 (37): * Single equations (assignments): 37 * 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.0002952/0.359, allocations: 190.2 kB / 0.5967 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009685/0.36, allocations: 0.5124 MB / 0.5972 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.36, allocations: 0 / 0.5972 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.3605, allocations: 289.4 kB / 0.5975 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3609, allocations: 81.03 kB / 0.5976 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.3616, allocations: 0.4963 MB / 0.5981 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3619, allocations: 0.731 MB / 0.5988 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.3623, allocations: 185.8 kB / 0.599 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.3624, allocations: 38.23 kB / 0.599 GB, free: 11.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3624, allocations: 1.094 kB / 0.599 GB, free: 11.18 MB / 446.1 MB Notification: Performance of Templates: time 0.007468/0.3699, allocations: 4.699 MB / 0.6036 GB, free: 8.871 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)