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.001085/0.001085, 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.00116/0.00116, 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7595/0.7595, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.41 kB / 0.5863 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1386, allocations: 80.91 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.571/0.7096, allocations: 255.8 MB / 0.9151 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.725, allocations: 9.58 MB / 0.9244 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.7274, allocations: 75.56 kB / 0.9245 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.7301, allocations: 0.998 MB / 0.9255 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006934/0.7371, allocations: 2.761 MB / 0.9282 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005275/0.7424, allocations: 2.169 MB / 0.9303 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005373/0.7478, allocations: 4.156 MB / 0.9344 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.7503, allocations: 1.583 MB / 0.9359 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004035/0.7543, allocations: 2.039 MB / 0.9379 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/0.757, allocations: 1.296 MB / 0.9392 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005031/0.7575, allocations: 180 kB / 0.9393 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/0.7634, allocations: 3.157 MB / 0.9424 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008388/0.7642, allocations: 0.592 MB / 0.943 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.766, allocations: 1.026 MB / 0.944 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006239/0.7722, allocations: 3.697 MB / 0.9476 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.7723, allocations: 3.938 kB / 0.9476 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7723, allocations: 4 kB / 0.9476 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.891e-05/0.7724, allocations: 0 / 0.9476 GB, free: 13.85 MB / 0.7169 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.005031/0.7774, allocations: 2.475 MB / 0.95 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.7775, allocations: 9.109 kB / 0.95 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/0.7814, allocations: 0.6298 MB / 0.9507 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.7844, allocations: 1.43 MB / 0.952 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.7845, allocations: 98.22 kB / 0.9521 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/0.7847, allocations: 127.9 kB / 0.9523 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.7874, allocations: 1.42 MB / 0.9536 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.7874, allocations: 8 kB / 0.9537 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.7876, allocations: 44 kB / 0.9537 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/0.7876, allocations: 46.16 kB / 0.9537 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.79, allocations: 1.184 MB / 0.9549 GB, free: 6.168 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.007704/0.7977, allocations: 5.685 MB / 0.9605 GB, free: 160 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.7996, allocations: 1.023 MB / 0.9614 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009599/0.8005, allocations: 0.5253 MB / 0.962 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/0.8011, allocations: 311.9 kB / 0.9623 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.8023, allocations: 0.5698 MB / 0.9628 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 6.352e-06/0.8023, allocations: 3.984 kB / 0.9628 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=93): time 0.008295/0.8106, allocations: 3.563 MB / 0.9663 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.8107, allocations: 90.11 kB / 0.9664 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.8125, allocations: 1.346 MB / 0.9677 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.8126, allocations: 49.7 kB / 0.9677 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/0.8132, allocations: 0.7328 MB / 0.9685 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.8135, allocations: 315.4 kB / 0.9688 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.8138, allocations: 198.4 kB / 0.969 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8139, allocations: 345.9 kB / 0.9693 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009548/0.8149, allocations: 456.9 kB / 0.9697 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.816, allocations: 0.6746 MB / 0.9704 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/0.8289, allocations: 3.337 MB / 0.9736 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.829, allocations: 0 / 0.9736 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003248/0.8322, allocations: 1.546 MB / 0.9751 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.8323, allocations: 51.81 kB / 0.9752 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8323, allocations: 4 kB / 0.9752 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.833, allocations: 246.8 kB / 0.9754 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.8339, allocations: 191.8 kB / 0.9756 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.8382, allocations: 4.815 MB / 0.9803 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.8395, allocations: 78.44 kB / 0.9804 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/0.8396, allocations: 44 kB / 0.9804 GB, free: 10.89 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 system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001502/0.8411, allocations: 0.7716 MB / 0.9812 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001095/0.8423, allocations: 0.6668 MB / 0.9818 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01255/0.8548, allocations: 3.306 MB / 0.9851 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/0.8549, allocations: 0 / 0.9851 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.00312/0.858, allocations: 1.522 MB / 0.9866 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.858, allocations: 45.69 kB / 0.9866 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.858, allocations: 4 kB / 0.9866 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.8586, allocations: 218.8 kB / 0.9868 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.8594, allocations: 187.8 kB / 0.987 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005227/0.8647, allocations: 5.999 MB / 0.9928 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.866, allocations: 73.97 kB / 0.9929 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.8661, allocations: 43.98 kB / 0.993 GB, free: 13.41 MB / 0.7637 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.0003563/0.8665, allocations: 285.8 kB / 0.9932 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.8668, allocations: 162 kB / 0.9934 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.8695, allocations: 1.294 MB / 0.9947 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002145/0.8716, allocations: 1.159 MB / 0.9958 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8717, allocations: 0 / 0.9958 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.8724, allocations: 343 kB / 0.9961 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.8726, allocations: 23.94 kB / 0.9961 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009563/0.8735, allocations: 59.94 kB / 0.9962 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.8737, allocations: 56.86 kB / 0.9962 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003132/0.8768, allocations: 1.378 MB / 0.9976 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003464/0.8803, allocations: 1.981 MB / 0.9995 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009734/0.8813, allocations: 0.5309 MB / 1 GB, free: 6.008 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001246/0.8825, allocations: 0.9177 MB / 1.001 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of Backend: time 3.6e-07/0.8826, allocations: 4 kB / 1.001 GB, free: 5.09 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005575/0.8881, allocations: 2.845 MB / 1.004 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006153/0.8943, allocations: 3.868 MB / 1.007 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.06536/0.9597, allocations: 42.85 MB / 1.049 GB, free: 3.707 MB / 0.8106 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)