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.00854/0.00854, allocations: 105.8 kB / 15.74 MB, free: 6.039 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.001796/0.001796, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8634/0.8634, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 0.5813 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6012, allocations: 80.2 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003148/0.6045, allocations: 1.379 MB / 0.661 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003989/0.6085, allocations: 2.915 MB / 0.6639 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.6086, allocations: 5.25 kB / 0.6639 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.6087, allocations: 3.984 kB / 0.6639 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.6089, allocations: 50.31 kB / 0.6639 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.6097, allocations: 178.6 kB / 0.6641 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.61, allocations: 247.6 kB / 0.6643 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.343e-05/0.6101, allocations: 3.781 kB / 0.6643 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.6102, allocations: 94.23 kB / 0.6644 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.6104, allocations: 122.8 kB / 0.6645 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.6104, allocations: 19 kB / 0.6645 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.6109, allocations: 133.4 kB / 0.6647 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.611, allocations: 89.78 kB / 0.6648 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.6111, allocations: 86.06 kB / 0.6648 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.6116, allocations: 275.7 kB / 0.6651 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.6116, allocations: 0 / 0.6651 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6116, allocations: 1.125 kB / 0.6651 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.6116, allocations: 0 / 0.6651 GB, free: 6.43 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009382/0.6126, allocations: 0.5323 MB / 0.6656 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6126, allocations: 9.188 kB / 0.6656 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.6128, allocations: 22.86 kB / 0.6657 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.6131, allocations: 237 kB / 0.6659 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.6131, allocations: 23.77 kB / 0.6659 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.6132, allocations: 17.77 kB / 0.6659 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.6139, allocations: 290.2 kB / 0.6662 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.6139, allocations: 0 / 0.6662 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.6139, allocations: 5.438 kB / 0.6662 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.614, allocations: 3.875 kB / 0.6662 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.6155, allocations: 0.7504 MB / 0.6669 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.616, allocations: 305.2 kB / 0.6672 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.6177, allocations: 0.6746 MB / 0.6679 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.6182, allocations: 231.9 kB / 0.6681 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/0.6187, allocations: 390.2 kB / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.6187, allocations: 39.78 kB / 0.6685 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.484e-06/0.6187, allocations: 0 / 0.6685 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001727/0.6204, allocations: 0.665 MB / 0.6692 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.6205, allocations: 54.41 kB / 0.6692 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.6206, allocations: 123.3 kB / 0.6693 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.6206, allocations: 31.14 kB / 0.6694 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.6207, allocations: 95.62 kB / 0.6695 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6208, allocations: 125 kB / 0.6696 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.6209, allocations: 69.05 kB / 0.6696 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.621, allocations: 332.2 kB / 0.67 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.6215, allocations: 194.7 kB / 0.6701 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.6221, allocations: 201.8 kB / 0.6703 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.623, allocations: 363.4 kB / 0.6707 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6231, allocations: 0 / 0.6707 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001179/0.6242, allocations: 463.8 kB / 0.6711 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.6243, allocations: 9.672 kB / 0.6711 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6243, allocations: 0 / 0.6711 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.6243, allocations: 2.281 kB / 0.6711 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.6248, allocations: 96.3 kB / 0.6712 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.6248, allocations: 1.594 kB / 0.6712 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.625, allocations: 53.77 kB / 0.6713 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.6251, allocations: 12.64 kB / 0.6713 GB, free: 2.383 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.6252, allocations: 139.8 kB / 0.6714 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.6253, allocations: 24.64 kB / 0.6715 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.6266, allocations: 0.5107 MB / 0.672 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.6267, allocations: 7.344 kB / 0.672 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6267, allocations: 1.188 kB / 0.672 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.6267, allocations: 3.984 kB / 0.672 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.6271, allocations: 312.9 kB / 0.6723 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6271, allocations: 1.125 kB / 0.6723 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.6275, allocations: 103.7 kB / 0.6724 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.6275, allocations: 2.219 kB / 0.6724 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.6275, allocations: 7.094 kB / 0.6724 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6275, allocations: 2.25 kB / 0.6724 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6275, allocations: 0 / 0.6724 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.6287, allocations: 0.4936 MB / 0.6729 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.6288, allocations: 103.5 kB / 0.673 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.6288, allocations: 13.2 kB / 0.673 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.629, allocations: 31.31 kB / 0.673 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.6293, allocations: 123.2 kB / 0.6731 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.6293, allocations: 9.25 kB / 0.6731 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.6294, allocations: 105.8 kB / 0.6732 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6294, allocations: 4 kB / 0.6732 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006114/0.63, allocations: 112.9 kB / 0.6733 GB, free: 1.082 MB / 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 (37): * Single equations (assignments): 37 * 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.0003838/0.6304, allocations: 191 kB / 0.6735 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.6316, allocations: 477.7 kB / 0.674 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6316, allocations: 0 / 0.674 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.6321, allocations: 263.8 kB / 0.6742 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.6326, allocations: 79.89 kB / 0.6743 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.6335, allocations: 421.9 kB / 0.6747 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.6338, allocations: 0.7345 MB / 0.6754 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004408/0.6343, allocations: 181.6 kB / 0.6756 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.6344, allocations: 42.73 kB / 0.6756 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.6344, allocations: 1.188 kB / 0.6756 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.01102/0.6455, allocations: 5.301 MB / 0.6808 GB, free: 12.96 MB / 0.5137 GB 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)