Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008838/0.000884, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008758/0.0008758, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8134/0.8134, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 8 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.2836/0.4267, allocations: 39.13 MB / 0.6254 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.4391, allocations: 11.01 MB / 0.6362 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.4406, allocations: 54.94 kB / 0.6362 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.4421, allocations: 0.6863 MB / 0.6369 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004335/0.4464, allocations: 2.265 MB / 0.6391 GB, free: 22.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.4494, allocations: 1.438 MB / 0.6405 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006214/0.4556, allocations: 7.329 MB / 0.6477 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003907/0.4595, allocations: 3.94 MB / 0.6515 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.4639, allocations: 2.913 MB / 0.6544 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/0.4676, allocations: 2.465 MB / 0.6568 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000571/0.4682, allocations: 197.2 kB / 0.657 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.4718, allocations: 1.11 MB / 0.658 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.473, allocations: 0.9501 MB / 0.659 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.4744, allocations: 0.9457 MB / 0.6599 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007291/0.4817, allocations: 6.343 MB / 0.6661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.4817, allocations: 0 / 0.6661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4817, allocations: 0 / 0.6661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001738/0.4819, allocations: 3.938 kB / 0.6661 GB, free: 12.06 MB / 0.4981 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.01015/0.492, allocations: 4.54 MB / 0.6705 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.4921, allocations: 8.156 kB / 0.6705 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/0.4988, allocations: 1.226 MB / 0.6717 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.5092, allocations: 4.809 MB / 0.6764 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.5093, allocations: 228.5 kB / 0.6766 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005294/0.5099, allocations: 297.3 kB / 0.6769 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006422/0.5163, allocations: 4.454 MB / 0.6813 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/0.5164, allocations: 7.875 kB / 0.6813 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003241/0.5167, allocations: 131.1 kB / 0.6814 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.5168, allocations: 132.4 kB / 0.6815 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005464/0.5223, allocations: 3.801 MB / 0.6852 GB, free: 2.086 MB / 0.4981 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.02967/0.552, allocations: 20.8 MB / 0.7056 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.5551, allocations: 2.296 MB / 0.7078 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.5556, allocations: 0.5272 MB / 0.7083 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.5556, allocations: 55.88 kB / 0.7084 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=160): time 2.935e-06/0.5557, allocations: 0 / 0.7084 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.02031/0.576, allocations: 6.202 MB / 0.7144 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.576, allocations: 68.72 kB / 0.7145 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004848/0.5809, allocations: 3.618 MB / 0.718 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003996/0.5813, allocations: 69.7 kB / 0.7181 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.5827, allocations: 1.782 MB / 0.7198 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005887/0.5833, allocations: 0.5507 MB / 0.7204 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.5835, allocations: 44 kB / 0.7204 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5836, allocations: 410.2 kB / 0.7208 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/0.5863, allocations: 1.355 MB / 0.7221 GB, free: 332 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002935/0.5893, allocations: 1.916 MB / 0.724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.5921, allocations: 1.657 MB / 0.7256 GB, free: 12.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.5922, allocations: 4 kB / 0.7256 GB, free: 12.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01258/0.6048, allocations: 4.944 MB / 0.7304 GB, free: 7.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.002111/0.6069, allocations: 6.244 MB / 0.7365 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.6069, allocations: 12 kB / 0.7366 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01501/0.6219, allocations: 2.87 MB / 0.7394 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.6243, allocations: 0.4953 MB / 0.7398 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.6346, allocations: 5.604 MB / 0.7453 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/0.6395, allocations: 0.5127 MB / 0.7458 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/0.6399, allocations: 115.9 kB / 0.7459 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.6399, allocations: 4 kB / 0.7459 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/0.6522, allocations: 4.605 MB / 0.7504 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.6522, allocations: 20.06 kB / 0.7504 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/0.6659, allocations: 2.812 MB / 0.7532 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.6678, allocations: 467.3 kB / 0.7536 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00937/0.6772, allocations: 4.422 MB / 0.758 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/0.6813, allocations: 477.5 kB / 0.7584 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/0.6817, allocations: 107.9 kB / 0.7585 GB, free: 9.918 MB / 0.5762 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 8,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.003131/0.6848, allocations: 1.48 MB / 0.76 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/0.6863, allocations: 332.1 kB / 0.7603 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/0.6914, allocations: 3.065 MB / 0.7633 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.6915, allocations: 19.98 kB / 0.7633 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/0.6915, allocations: 4 kB / 0.7633 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003746/0.6953, allocations: 2.493 MB / 0.7657 GB, free: 2.469 MB / 0.5762 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.01374/0.709, allocations: 6.948 MB / 0.7725 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.709, allocations: 0 / 0.7725 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.7103, allocations: 275.6 kB / 0.7728 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/0.7133, allocations: 0.9295 MB / 0.7737 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.7134, allocations: 39.98 kB / 0.7737 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008179/0.7216, allocations: 10.47 MB / 0.7839 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7216, allocations: 4 kB / 0.7839 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/0.7284, allocations: 4.421 MB / 0.7883 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002655/0.7311, allocations: 0.8673 MB / 0.7891 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/0.7322, allocations: 43.92 kB / 0.7891 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/0.7352, allocations: 286.7 kB / 0.7894 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.7355, allocations: 121.7 kB / 0.7895 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002411/0.7357, allocations: 83.92 kB / 0.7896 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004266/0.74, allocations: 2.541 MB / 0.7921 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.74, allocations: 0 / 0.7921 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007266/0.7473, allocations: 2.299 MB / 0.7943 GB, free: 4.215 MB / 0.6075 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 (118): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {5 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.7486, allocations: 480.2 kB / 0.7948 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01728/0.7659, allocations: 5.823 MB / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.7659, allocations: 4 kB / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/0.7688, allocations: 1.828 MB / 0.8023 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008331/0.7771, allocations: 1.843 MB / 0.8041 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.7892, allocations: 9.194 MB / 0.8131 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002505/0.7918, allocations: 3.046 MB / 0.816 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003986/0.7958, allocations: 1.321 MB / 0.8173 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/0.7964, allocations: 251.3 kB / 0.8176 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.7964, allocations: 0 / 0.8176 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of Templates: time 0.3696/1.166, allocations: 86.99 MB / 0.9025 GB, free: 192.7 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1) Environment - environmentSimulation: