Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001103/0.001103, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001153/0.001153, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.805/0.805, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 57.81 kB / 0.582 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6396/0.7792, allocations: 255.8 MB / 0.9101 GB, free: 5.945 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.7937, allocations: 9.587 MB / 0.9195 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.7963, allocations: 75.56 kB / 0.9195 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.799, allocations: 0.994 MB / 0.9205 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.8059, allocations: 2.761 MB / 0.9232 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005415/0.8114, allocations: 2.166 MB / 0.9253 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005656/0.817, allocations: 4.151 MB / 0.9294 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.8197, allocations: 1.589 MB / 0.9309 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.8242, allocations: 2.039 MB / 0.9329 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.8269, allocations: 1.297 MB / 0.9342 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.8274, allocations: 180 kB / 0.9344 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005878/0.8333, allocations: 3.149 MB / 0.9374 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008512/0.8342, allocations: 0.5957 MB / 0.938 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.836, allocations: 1.03 MB / 0.939 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006539/0.8426, allocations: 3.7 MB / 0.9426 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8426, allocations: 0 / 0.9426 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8426, allocations: 0 / 0.9426 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.274e-05/0.8427, allocations: 0 / 0.9426 GB, free: 4.539 MB / 0.7012 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.005251/0.848, allocations: 2.475 MB / 0.9451 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.8481, allocations: 8.031 kB / 0.9451 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.852, allocations: 0.6337 MB / 0.9457 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.8548, allocations: 1.437 MB / 0.9471 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.183e-05/0.8549, allocations: 106.2 kB / 0.9472 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.8551, allocations: 120 kB / 0.9473 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.8576, allocations: 1.416 MB / 0.9487 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.8577, allocations: 0 / 0.9487 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.8578, allocations: 48 kB / 0.9487 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.8578, allocations: 42.22 kB / 0.9488 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.8603, allocations: 1.191 MB / 0.9499 GB, free: 12.85 MB / 0.7169 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.00776/0.868, allocations: 5.685 MB / 0.9555 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.8699, allocations: 1.019 MB / 0.9565 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.8709, allocations: 0.5331 MB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/0.8715, allocations: 303.9 kB / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.8727, allocations: 0.5618 MB / 0.9578 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 4.208e-06/0.8727, allocations: 0 / 0.9578 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=93): time 0.008395/0.8811, allocations: 3.576 MB / 0.9613 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.8812, allocations: 90.11 kB / 0.9614 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.8832, allocations: 1.346 MB / 0.9627 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/0.8833, allocations: 49.7 kB / 0.9628 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000594/0.8839, allocations: 0.729 MB / 0.9635 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.8842, allocations: 319.4 kB / 0.9638 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.8845, allocations: 194.4 kB / 0.964 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8846, allocations: 353.8 kB / 0.9643 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.8856, allocations: 464.9 kB / 0.9648 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.8867, allocations: 0.6631 MB / 0.9654 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/0.9001, allocations: 3.345 MB / 0.9687 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9002, allocations: 4 kB / 0.9687 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003558/0.9037, allocations: 1.542 MB / 0.9702 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.9038, allocations: 45.62 kB / 0.9702 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.9038, allocations: 4.438 kB / 0.9702 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007717/0.9046, allocations: 246.4 kB / 0.9705 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/0.9055, allocations: 191.7 kB / 0.9707 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.9101, allocations: 4.81 MB / 0.9754 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.9114, allocations: 67.94 kB / 0.9754 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.9116, allocations: 51.92 kB / 0.9755 GB, free: 1.578 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001589/0.9132, allocations: 0.772 MB / 0.9762 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/0.9144, allocations: 0.6707 MB / 0.9769 GB, free: 60 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01305/0.9274, allocations: 3.306 MB / 0.9801 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.9274, allocations: 4 kB / 0.9801 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.003284/0.9307, allocations: 1.522 MB / 0.9816 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.9308, allocations: 37.69 kB / 0.9816 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.9308, allocations: 4 kB / 0.9816 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.9314, allocations: 218.9 kB / 0.9818 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.9322, allocations: 195.7 kB / 0.982 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.9375, allocations: 5.996 MB / 0.9879 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.9389, allocations: 75.98 kB / 0.988 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.9391, allocations: 40 kB / 0.988 GB, free: 4.109 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $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.0003582/0.9394, allocations: 281.6 kB / 0.9883 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.9398, allocations: 162 kB / 0.9884 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.9426, allocations: 1.302 MB / 0.9897 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002166/0.9448, allocations: 1.151 MB / 0.9908 GB, free: 1.148 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9448, allocations: 4 kB / 0.9908 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/0.9455, allocations: 343 kB / 0.9911 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.9458, allocations: 23.94 kB / 0.9912 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.9469, allocations: 59.94 kB / 0.9912 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.9471, allocations: 60.91 kB / 0.9913 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00327/0.9503, allocations: 1.37 MB / 0.9926 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00357/0.9539, allocations: 1.985 MB / 0.9946 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001013/0.9549, allocations: 0.527 MB / 0.9951 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001553/0.9565, allocations: 0.9216 MB / 0.996 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of Backend: time 5.91e-07/0.9565, allocations: 0 / 0.996 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006345/0.9629, allocations: 2.848 MB / 0.9988 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006868/0.9698, allocations: 3.865 MB / 1.003 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of Templates: time 0.06929/1.039, allocations: 42.85 MB / 1.044 GB, free: 10.44 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)