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.00123/0.00123, allocations: 115 kB / 16.42 MB, free: 6.512 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.001258/0.001258, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7724/0.7724, allocations: 132.2 MB / 423.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.39 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1355, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.5918/0.7273, allocations: 255.8 MB / 0.9101 GB, free: 5.957 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.7415, allocations: 9.575 MB / 0.9195 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.7437, allocations: 79.5 kB / 0.9195 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.7461, allocations: 0.9979 MB / 0.9205 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006794/0.7529, allocations: 2.765 MB / 0.9232 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005738/0.7587, allocations: 2.168 MB / 0.9253 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005762/0.7644, allocations: 4.159 MB / 0.9294 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.7666, allocations: 1.587 MB / 0.9309 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004535/0.7712, allocations: 2.032 MB / 0.9329 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.7738, allocations: 1.291 MB / 0.9342 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.7741, allocations: 180 kB / 0.9344 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/0.7798, allocations: 3.153 MB / 0.9374 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006196/0.7805, allocations: 0.5957 MB / 0.938 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.7817, allocations: 1.034 MB / 0.939 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.7874, allocations: 3.71 MB / 0.9427 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7874, allocations: 0 / 0.9427 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.146e-06/0.7874, allocations: 3.984 kB / 0.9427 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.727e-05/0.7875, allocations: 0 / 0.9427 GB, free: 4.535 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.003898/0.7914, allocations: 2.542 MB / 0.9451 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.7914, allocations: 8.031 kB / 0.9451 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/0.7952, allocations: 0.6387 MB / 0.9458 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.7978, allocations: 1.451 MB / 0.9472 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.7979, allocations: 102.2 kB / 0.9473 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.7981, allocations: 124 kB / 0.9474 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.8006, allocations: 1.423 MB / 0.9488 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.8006, allocations: 4 kB / 0.9488 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.8007, allocations: 48 kB / 0.9488 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/0.8008, allocations: 42.22 kB / 0.9489 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.8032, allocations: 1.188 MB / 0.95 GB, free: 12.75 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.007634/0.8108, allocations: 5.69 MB / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.8126, allocations: 1.031 MB / 0.9566 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000949/0.8136, allocations: 0.5253 MB / 0.9571 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/0.8142, allocations: 315.9 kB / 0.9574 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.8153, allocations: 0.5618 MB / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 3.397e-06/0.8153, allocations: 0 / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=93): time 0.008441/0.8238, allocations: 3.597 MB / 0.9615 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8239, allocations: 98.09 kB / 0.9616 GB, free: 392 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.8256, allocations: 1.346 MB / 0.9629 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.8258, allocations: 45.7 kB / 0.9629 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006563/0.8264, allocations: 0.7379 MB / 0.9637 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.8268, allocations: 333.1 kB / 0.964 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.8271, allocations: 190.6 kB / 0.9642 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8273, allocations: 345.9 kB / 0.9645 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009598/0.8283, allocations: 460.9 kB / 0.9649 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.8294, allocations: 0.6749 MB / 0.9656 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/0.8425, allocations: 3.346 MB / 0.9689 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8425, allocations: 0 / 0.9689 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003256/0.8458, allocations: 1.547 MB / 0.9704 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.8458, allocations: 45.58 kB / 0.9704 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.8458, allocations: 4.438 kB / 0.9704 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.8466, allocations: 246.4 kB / 0.9706 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/0.8475, allocations: 191.7 kB / 0.9708 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.8518, allocations: 4.825 MB / 0.9755 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.8531, allocations: 63.95 kB / 0.9756 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.069e-05/0.8532, allocations: 48.05 kB / 0.9756 GB, free: 1.418 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.001475/0.8547, allocations: 0.7695 MB / 0.9764 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001092/0.8558, allocations: 0.6708 MB / 0.9771 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01257/0.8684, allocations: 3.314 MB / 0.9803 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.8684, allocations: 4 kB / 0.9803 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.003115/0.8715, allocations: 1.531 MB / 0.9818 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.8716, allocations: 43.72 kB / 0.9818 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.8716, allocations: 4 kB / 0.9818 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.8721, allocations: 214.9 kB / 0.982 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000861/0.873, allocations: 199.7 kB / 0.9822 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.8781, allocations: 5.991 MB / 0.9881 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.8794, allocations: 76.25 kB / 0.9882 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.8795, allocations: 43.98 kB / 0.9882 GB, free: 3.93 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.0003184/0.8798, allocations: 281.7 kB / 0.9885 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.88, allocations: 170.9 kB / 0.9886 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.8827, allocations: 1.29 MB / 0.9899 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002131/0.8848, allocations: 1.163 MB / 0.991 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8849, allocations: 0 / 0.991 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/0.8855, allocations: 355.9 kB / 0.9914 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.8857, allocations: 27.94 kB / 0.9914 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/0.8866, allocations: 59.88 kB / 0.9914 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.8867, allocations: 56.92 kB / 0.9915 GB, free: 464 kB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003062/0.8898, allocations: 1.378 MB / 0.9928 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003404/0.8932, allocations: 1.986 MB / 0.9948 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009685/0.8942, allocations: 0.527 MB / 0.9953 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001305/0.8955, allocations: 0.9216 MB / 0.9962 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of Backend: time 2.21e-07/0.8955, allocations: 0 / 0.9962 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005846/0.9014, allocations: 2.854 MB / 0.999 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006046/0.9075, allocations: 3.929 MB / 1.003 GB, free: 4.691 MB / 0.7637 GB Notification: Performance of Templates: time 0.07253/0.98, allocations: 42.85 MB / 1.045 GB, free: 10.15 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)