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.00944/0.00944, allocations: 102.4 kB / 15.73 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.001861/0.001861, allocations: 189.1 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8546/0.8546, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 61.97 kB / 0.5813 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2283, allocations: 80.21 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003185/0.2315, allocations: 1.385 MB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004392/0.2359, allocations: 2.913 MB / 0.6639 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.236, allocations: 4 kB / 0.6639 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.2361, allocations: 11.92 kB / 0.6639 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.2363, allocations: 35.81 kB / 0.6639 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.2372, allocations: 183.1 kB / 0.6641 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.2375, allocations: 243.5 kB / 0.6643 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.694e-05/0.2376, allocations: 4 kB / 0.6643 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2378, allocations: 95.78 kB / 0.6644 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.2379, allocations: 123.8 kB / 0.6645 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.238, allocations: 12 kB / 0.6645 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.2384, allocations: 139.9 kB / 0.6647 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.2385, allocations: 87.75 kB / 0.6648 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2386, allocations: 83.66 kB / 0.6648 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.239, allocations: 279.2 kB / 0.6651 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.239, allocations: 4 kB / 0.6651 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2391, allocations: 0 / 0.6651 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2391, allocations: 0 / 0.6651 GB, free: 7.863 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.0008848/0.24, allocations: 0.53 MB / 0.6656 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.24, allocations: 12.03 kB / 0.6656 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.2402, allocations: 20.69 kB / 0.6657 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.2404, allocations: 237.7 kB / 0.6659 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.2405, allocations: 28.3 kB / 0.6659 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.2405, allocations: 16.38 kB / 0.6659 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.2412, allocations: 293.2 kB / 0.6662 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2412, allocations: 0 / 0.6662 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2412, allocations: 4 kB / 0.6662 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2412, allocations: 4 kB / 0.6662 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.2427, allocations: 0.7452 MB / 0.6669 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.243, allocations: 313 kB / 0.6672 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.2445, allocations: 0.68 MB / 0.6679 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.245, allocations: 229.6 kB / 0.6681 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/0.2454, allocations: 392.3 kB / 0.6685 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2455, allocations: 42.5 kB / 0.6685 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.392e-06/0.2455, allocations: 0 / 0.6685 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001485/0.247, allocations: 0.6501 MB / 0.6692 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.247, allocations: 59.39 kB / 0.6692 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2472, allocations: 125.1 kB / 0.6693 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2472, allocations: 29.7 kB / 0.6694 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.2472, allocations: 96.78 kB / 0.6695 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2474, allocations: 126.1 kB / 0.6696 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2475, allocations: 65.67 kB / 0.6697 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2476, allocations: 330.8 kB / 0.67 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.248, allocations: 199.8 kB / 0.6702 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.2485, allocations: 199.5 kB / 0.6703 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.2493, allocations: 366.2 kB / 0.6707 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2493, allocations: 0 / 0.6707 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009574/0.2502, allocations: 456.6 kB / 0.6711 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2503, allocations: 8 kB / 0.6711 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2503, allocations: 3.938 kB / 0.6711 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2503, allocations: 0 / 0.6711 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.2506, allocations: 99.84 kB / 0.6712 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2507, allocations: 4 kB / 0.6712 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.2508, allocations: 51.7 kB / 0.6713 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.2509, allocations: 15.94 kB / 0.6713 GB, free: 1.211 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.0001322/0.251, allocations: 142.4 kB / 0.6714 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.251, allocations: 19.75 kB / 0.6715 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.2521, allocations: 0.5155 MB / 0.672 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2522, allocations: 4 kB / 0.672 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2522, allocations: 0 / 0.672 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2522, allocations: 7.984 kB / 0.672 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.2525, allocations: 317.2 kB / 0.6723 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2525, allocations: 0 / 0.6723 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.2528, allocations: 99.8 kB / 0.6724 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2529, allocations: 4 kB / 0.6724 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.2529, allocations: 11.98 kB / 0.6724 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2529, allocations: 0 / 0.6724 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2529, allocations: 0 / 0.6724 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009855/0.2539, allocations: 0.4884 MB / 0.6729 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.254, allocations: 104.7 kB / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.254, allocations: 4 kB / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2542, allocations: 39.95 kB / 0.673 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.2544, allocations: 119.8 kB / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.2544, allocations: 8 kB / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.762e-05/0.2545, allocations: 107.2 kB / 0.6732 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2545, allocations: 4 kB / 0.6732 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003907/0.2549, allocations: 111.9 kB / 0.6733 GB, free: 15.03 MB / 0.5137 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.0003325/0.2552, allocations: 190.9 kB / 0.6735 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.2562, allocations: 475.6 kB / 0.674 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2563, allocations: 0 / 0.674 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.2568, allocations: 263.4 kB / 0.6742 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.2572, allocations: 83.86 kB / 0.6743 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.2579, allocations: 410.6 kB / 0.6747 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.2583, allocations: 0.7366 MB / 0.6754 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003648/0.2586, allocations: 186.5 kB / 0.6756 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.2587, allocations: 43.42 kB / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2587, allocations: 0 / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.009306/0.2681, allocations: 5.307 MB / 0.6808 GB, free: 7.414 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)