Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008049/0.00805, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9608/0.9607, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 8.281 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 82.32 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.5406/0.7062, allocations: 250.2 MB / 0.8323 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.7218, allocations: 9.609 MB / 0.8417 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.7241, allocations: 67.56 kB / 0.8417 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.7264, allocations: 0.8199 MB / 0.8425 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006992/0.7334, allocations: 2.475 MB / 0.8449 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005824/0.7393, allocations: 1.933 MB / 0.8468 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007983/0.7473, allocations: 5.423 MB / 0.8521 GB, free: 13.76 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.75, allocations: 1.279 MB / 0.8534 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004387/0.7544, allocations: 1.684 MB / 0.855 GB, free: 10.76 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.7576, allocations: 1.232 MB / 0.8562 GB, free: 9.527 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004704/0.7581, allocations: 60 kB / 0.8563 GB, free: 9.469 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006828/0.7649, allocations: 3.495 MB / 0.8597 GB, free: 5.965 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009329/0.7658, allocations: 478.1 kB / 0.8602 GB, free: 5.496 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.7675, allocations: 0.9029 MB / 0.861 GB, free: 4.582 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007172/0.7747, allocations: 3.688 MB / 0.8646 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7747, allocations: 0 / 0.8646 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7748, allocations: 0 / 0.8646 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.012e-05/0.7748, allocations: 0 / 0.8646 GB, free: 0.8828 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.3338/1.109, allocations: 2.119 MB / 0.8667 GB, free: 221.2 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.109, allocations: 9.969 kB / 0.8667 GB, free: 221.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/1.112, allocations: 0.6499 MB / 0.8673 GB, free: 221.1 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/1.115, allocations: 1.378 MB / 0.8687 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/1.115, allocations: 158.1 kB / 0.8688 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/1.115, allocations: 126.9 kB / 0.869 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/1.118, allocations: 1.441 MB / 0.8704 GB, free: 220.4 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/1.118, allocations: 2.969 kB / 0.8704 GB, free: 220.4 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.118, allocations: 46.91 kB / 0.8704 GB, free: 220.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/1.118, allocations: 39.47 kB / 0.8705 GB, free: 220.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/1.12, allocations: 1.219 MB / 0.8716 GB, free: 220.4 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006851/1.127, allocations: 5.708 MB / 0.8772 GB, free: 217.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/1.129, allocations: 1.052 MB / 0.8783 GB, free: 216.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009504/1.13, allocations: 0.5428 MB / 0.8788 GB, free: 216.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/1.13, allocations: 331.3 kB / 0.8791 GB, free: 216.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/1.131, allocations: 0.5723 MB / 0.8797 GB, free: 216 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.535e-06/1.131, allocations: 0 / 0.8797 GB, free: 216 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.007632/1.139, allocations: 3.659 MB / 0.8832 GB, free: 214.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.139, allocations: 89.52 kB / 0.8833 GB, free: 214.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/1.141, allocations: 1.348 MB / 0.8846 GB, free: 213.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/1.141, allocations: 50.08 kB / 0.8847 GB, free: 213.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/1.141, allocations: 0.7275 MB / 0.8854 GB, free: 213 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/1.141, allocations: 316.1 kB / 0.8857 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.142, allocations: 89.23 kB / 0.8858 GB, free: 212.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/1.142, allocations: 349.6 kB / 0.8861 GB, free: 212.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009046/1.143, allocations: 468.7 kB / 0.8866 GB, free: 212.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00099/1.144, allocations: 0.6837 MB / 0.8872 GB, free: 211.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/1.156, allocations: 3.655 MB / 0.8908 GB, free: 210.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.156, allocations: 2.688 kB / 0.8908 GB, free: 210.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003139/1.159, allocations: 1.576 MB / 0.8923 GB, free: 210 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.16, allocations: 248.2 kB / 0.8926 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.16, allocations: 7.125 kB / 0.8926 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000692/1.16, allocations: 242.6 kB / 0.8928 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/1.161, allocations: 201.7 kB / 0.893 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/1.165, allocations: 4.493 MB / 0.8974 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.166, allocations: 143.4 kB / 0.8975 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/1.166, allocations: 40.98 kB / 0.8976 GB, free: 205.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/1.166, allocations: 5.938 kB / 0.8976 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00253/1.169, allocations: 1.408 MB / 0.8989 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.169, allocations: 2.812 kB / 0.8989 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/1.169, allocations: 216 kB / 0.8992 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/1.17, allocations: 202.1 kB / 0.8993 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/1.174, allocations: 5.507 MB / 0.9047 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.176, allocations: 138.5 kB / 0.9049 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/1.176, allocations: 40.7 kB / 0.9049 GB, free: 200.2 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007969/1.177, allocations: 0.5078 MB / 0.9054 GB, free: 199.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/1.177, allocations: 165.7 kB / 0.9055 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/1.18, allocations: 1.326 MB / 0.9068 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.18, allocations: 8.469 kB / 0.9069 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1.18, allocations: 0 / 0.9069 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002228/1.182, allocations: 1.187 MB / 0.908 GB, free: 198.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/1.187, allocations: 3.117 MB / 0.9111 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.187, allocations: 7.938 kB / 0.9111 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009417/1.188, allocations: 197.2 kB / 0.9112 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/1.188, allocations: 50.95 kB / 0.9113 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/1.188, allocations: 29.23 kB / 0.9113 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002918/1.188, allocations: 0.5877 MB / 0.9119 GB, free: 196.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.188, allocations: 6.609 kB / 0.9119 GB, free: 196.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/1.192, allocations: 2.032 MB / 0.9139 GB, free: 195.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.192, allocations: 342.6 kB / 0.9142 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.193, allocations: 28.62 kB / 0.9142 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.194, allocations: 120.2 kB / 0.9144 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.194, allocations: 68.84 kB / 0.9144 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/1.194, allocations: 33.78 kB / 0.9145 GB, free: 195.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001268/1.195, allocations: 0.9157 MB / 0.9154 GB, free: 194.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.01e-07/1.195, allocations: 0 / 0.9154 GB, free: 194.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002379/1.198, allocations: 0.6943 MB / 0.916 GB, free: 194.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006318/1.198, allocations: 311.8 kB / 0.9163 GB, free: 194.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004325/1.203, allocations: 2.599 MB / 0.9189 GB, free: 193.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.203, allocations: 1.5 kB / 0.9189 GB, free: 193.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.204, allocations: 0.6213 MB / 0.9195 GB, free: 193 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/1.208, allocations: 0.8434 MB / 0.9203 GB, free: 192.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/1.215, allocations: 3.938 MB / 0.9241 GB, free: 190.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009423/1.216, allocations: 1.344 MB / 0.9255 GB, free: 189.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001747/1.218, allocations: 346.7 kB / 0.9258 GB, free: 189.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/1.218, allocations: 113.7 kB / 0.9259 GB, free: 189.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.352e-06/1.218, allocations: 0 / 0.9259 GB, free: 189.6 MB / 0.67 GB Notification: Performance of Templates: time 0.04904/1.267, allocations: 31.53 MB / 0.9567 GB, free: 171.3 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)