Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008682/0.0008683, allocations: 97.72 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.007366/0.007367, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9653/0.9653, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 8.625 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 82.3 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.4089/0.5945, allocations: 45.59 MB / 0.6325 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.6104, allocations: 12.63 MB / 0.6448 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.6132, allocations: 65.28 kB / 0.6449 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.6152, allocations: 0.6214 MB / 0.6455 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006343/0.6215, allocations: 2.199 MB / 0.6476 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.625, allocations: 1.253 MB / 0.6489 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0193/0.6443, allocations: 17.58 MB / 0.666 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007902/0.6523, allocations: 4.656 MB / 0.6706 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009402/0.6617, allocations: 3.352 MB / 0.6739 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009324/0.6711, allocations: 3.581 MB / 0.6773 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.6726, allocations: 197.1 kB / 0.6775 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006624/0.6792, allocations: 1.505 MB / 0.679 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002114/0.6814, allocations: 1.029 MB / 0.68 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006851/0.6882, allocations: 2.346 MB / 0.6823 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.7011, allocations: 7.763 MB / 0.6899 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7011, allocations: 0 / 0.6899 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7011, allocations: 0 / 0.6899 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002477/0.7014, allocations: 0 / 0.6899 GB, free: 15.27 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.01671/0.7181, allocations: 4.52 MB / 0.6943 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.7182, allocations: 9.938 kB / 0.6943 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009651/0.7278, allocations: 1.227 MB / 0.6955 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/0.7431, allocations: 5.502 MB / 0.7009 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.7434, allocations: 223.4 kB / 0.7011 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/0.7454, allocations: 310.4 kB / 0.7014 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009721/0.7551, allocations: 4.486 MB / 0.7058 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.804e-05/0.7552, allocations: 11.94 kB / 0.7058 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004212/0.7557, allocations: 116 kB / 0.7059 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.7558, allocations: 141.5 kB / 0.706 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006733/0.7625, allocations: 3.815 MB / 0.7098 GB, free: 15.32 MB / 0.5294 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.03528/0.7978, allocations: 20.29 MB / 0.7296 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004281/0.8022, allocations: 2.221 MB / 0.7317 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.8042, allocations: 1.278 MB / 0.733 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/0.8049, allocations: 0.5389 MB / 0.7335 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.635e-05/0.8049, allocations: 55.88 kB / 0.7336 GB, free: 5.512 MB / 0.545 GB Notification: Performance of pre-optimization done (n=160): time 3.566e-06/0.805, allocations: 0 / 0.7336 GB, free: 5.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=160): time 0.02435/0.8293, allocations: 6.207 MB / 0.7396 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.8294, allocations: 72.72 kB / 0.7397 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007737/0.8372, allocations: 3.173 MB / 0.7428 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009445/0.8381, allocations: 65.7 kB / 0.7429 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.8401, allocations: 1.778 MB / 0.7446 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.8412, allocations: 0.5507 MB / 0.7451 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.8415, allocations: 206 kB / 0.7453 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.8416, allocations: 301.1 kB / 0.7456 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/0.8448, allocations: 1.433 MB / 0.747 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.8484, allocations: 2.006 MB / 0.749 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/0.8538, allocations: 3.172 MB / 0.7521 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.8538, allocations: 4 kB / 0.7521 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01818/0.872, allocations: 5.486 MB / 0.7574 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005111/0.8726, allocations: 0.5305 MB / 0.758 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/0.8726, allocations: 16 kB / 0.758 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/0.8899, allocations: 2.91 MB / 0.7608 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.8926, allocations: 499.2 kB / 0.7613 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.9029, allocations: 5.383 MB / 0.7665 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00633/0.9093, allocations: 445.5 kB / 0.767 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000813/0.9101, allocations: 115.9 kB / 0.7671 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.9101, allocations: 4 kB / 0.7671 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01715/0.9273, allocations: 4.967 MB / 0.7719 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/0.9274, allocations: 12 kB / 0.7719 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/0.9425, allocations: 2.8 MB / 0.7747 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/0.9449, allocations: 463.2 kB / 0.7751 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008927/0.9538, allocations: 4.196 MB / 0.7792 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005172/0.959, allocations: 406.2 kB / 0.7796 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005526/0.9596, allocations: 107.9 kB / 0.7797 GB, free: 5.152 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (217): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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 {(3,8), (5,40), (3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.005474/0.9651, allocations: 1.488 MB / 0.7812 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001967/0.9671, allocations: 336 kB / 0.7815 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006709/0.9738, allocations: 3.045 MB / 0.7845 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.9738, allocations: 19.94 kB / 0.7845 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/0.9739, allocations: 11.98 kB / 0.7845 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004283/0.9782, allocations: 2.477 MB / 0.7869 GB, free: 13.72 MB / 0.6075 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 postOpt removeSimpleEquations (simulation): time 0.01678/0.995, allocations: 6.679 MB / 0.7934 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.995, allocations: 0 / 0.7934 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.9963, allocations: 295.6 kB / 0.7937 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/0.9993, allocations: 0.8668 MB / 0.7946 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.9995, allocations: 47.92 kB / 0.7946 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009252/1.009, allocations: 9.993 MB / 0.8044 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.009, allocations: 0 / 0.8044 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008626/1.017, allocations: 4.346 MB / 0.8086 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003183/1.021, allocations: 0.7425 MB / 0.8093 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/1.022, allocations: 36 kB / 0.8094 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/1.026, allocations: 258.5 kB / 0.8096 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/1.026, allocations: 117.8 kB / 0.8097 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/1.027, allocations: 87.94 kB / 0.8098 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00559/1.032, allocations: 2.205 MB / 0.812 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.91e-07/1.032, allocations: 0 / 0.812 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01201/1.044, allocations: 2.209 MB / 0.8141 GB, free: 0.9297 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * 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 (123): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,50)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/1.046, allocations: 469.6 kB / 0.8146 GB, free: 488 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01878/1.065, allocations: 5.671 MB / 0.8201 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/1.065, allocations: 0 / 0.8201 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.069, allocations: 1.773 MB / 0.8218 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01391/1.083, allocations: 1.867 MB / 0.8237 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.102, allocations: 9.486 MB / 0.8329 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004694/1.107, allocations: 2.964 MB / 0.8358 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006708/1.114, allocations: 1.292 MB / 0.8371 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.115, allocations: 239.3 kB / 0.8373 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of SimCode: time 1.683e-06/1.115, allocations: 0 / 0.8373 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of Templates: time 0.5121/1.627, allocations: 86.49 MB / 0.9218 GB, free: 186.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)