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.0008414/0.0008414, allocations: 99.23 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.0008623/0.0008623, allocations: 177.3 kB / 15.94 MB, free: 228 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.184/1.184, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002937, allocations: 8 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.288/0.4289, allocations: 39.13 MB / 0.6254 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.441, allocations: 11.02 MB / 0.6362 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.4429, allocations: 56.56 kB / 0.6362 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.4448, allocations: 0.6915 MB / 0.6369 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.4504, allocations: 2.256 MB / 0.6391 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.454, allocations: 1.431 MB / 0.6405 GB, free: 21.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007318/0.4613, allocations: 7.33 MB / 0.6477 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004401/0.4657, allocations: 3.945 MB / 0.6515 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.471, allocations: 2.912 MB / 0.6544 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004856/0.4759, allocations: 2.466 MB / 0.6568 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009317/0.4768, allocations: 192.2 kB / 0.6569 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.4812, allocations: 1.119 MB / 0.658 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.4827, allocations: 0.9507 MB / 0.659 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.485, allocations: 0.9443 MB / 0.6599 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009899/0.4949, allocations: 6.34 MB / 0.6661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4949, allocations: 0 / 0.6661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.975e-06/0.495, allocations: 1.125 kB / 0.6661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002806/0.4953, allocations: 0 / 0.6661 GB, free: 12.04 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.01279/0.508, allocations: 4.545 MB / 0.6705 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5081, allocations: 8.812 kB / 0.6705 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008032/0.5161, allocations: 1.223 MB / 0.6717 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/0.5291, allocations: 4.809 MB / 0.6764 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.5294, allocations: 228.5 kB / 0.6766 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009018/0.5303, allocations: 301.1 kB / 0.6769 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007112/0.5374, allocations: 4.45 MB / 0.6813 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.376e-05/0.5375, allocations: 8.125 kB / 0.6813 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003851/0.5379, allocations: 122.9 kB / 0.6814 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.538, allocations: 140.9 kB / 0.6815 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006025/0.5441, allocations: 3.797 MB / 0.6852 GB, free: 2.047 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.03296/0.577, allocations: 20.8 MB / 0.7056 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.5805, allocations: 2.293 MB / 0.7078 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005079/0.581, allocations: 0.5389 MB / 0.7083 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.5811, allocations: 55.88 kB / 0.7084 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=160): time 4.318e-06/0.5811, allocations: 0 / 0.7084 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.02054/0.6016, allocations: 6.192 MB / 0.7144 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.6017, allocations: 68.72 kB / 0.7145 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/0.6068, allocations: 3.614 MB / 0.718 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004484/0.6073, allocations: 69.7 kB / 0.7181 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.6086, allocations: 1.786 MB / 0.7198 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/0.6092, allocations: 0.5507 MB / 0.7204 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.6094, allocations: 44 kB / 0.7204 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6095, allocations: 402.3 kB / 0.7208 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/0.6122, allocations: 1.351 MB / 0.7221 GB, free: 276 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.6151, allocations: 1.928 MB / 0.724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.6179, allocations: 1.661 MB / 0.7256 GB, free: 12.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.6179, allocations: 4 kB / 0.7256 GB, free: 12.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01285/0.6308, allocations: 4.932 MB / 0.7304 GB, free: 7.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.002006/0.6328, allocations: 6.243 MB / 0.7365 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.6329, allocations: 12 kB / 0.7365 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01547/0.6484, allocations: 2.866 MB / 0.7393 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.6508, allocations: 0.5031 MB / 0.7398 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.661, allocations: 5.598 MB / 0.7453 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004895/0.6659, allocations: 0.5127 MB / 0.7458 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/0.6663, allocations: 111.9 kB / 0.7459 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.6663, allocations: 8 kB / 0.7459 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/0.678, allocations: 4.616 MB / 0.7504 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.6781, allocations: 15.94 kB / 0.7504 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/0.6915, allocations: 2.808 MB / 0.7532 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.6936, allocations: 467.3 kB / 0.7536 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009363/0.703, allocations: 4.429 MB / 0.758 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/0.7076, allocations: 481.6 kB / 0.7584 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.7079, allocations: 99.95 kB / 0.7585 GB, free: 9.859 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.002961/0.7109, allocations: 1.494 MB / 0.76 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/0.7121, allocations: 328.1 kB / 0.7603 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.7167, allocations: 3.055 MB / 0.7633 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.7167, allocations: 20.09 kB / 0.7633 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7167, allocations: 3.984 kB / 0.7633 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003236/0.72, allocations: 2.493 MB / 0.7657 GB, free: 2.41 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.01115/0.7311, allocations: 6.952 MB / 0.7725 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.7311, allocations: 3.984 kB / 0.7725 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.7323, allocations: 267.6 kB / 0.7728 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.7352, allocations: 0.9332 MB / 0.7737 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.7353, allocations: 47.97 kB / 0.7737 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00766/0.743, allocations: 10.46 MB / 0.7839 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.743, allocations: 0 / 0.7839 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006592/0.7496, allocations: 4.422 MB / 0.7883 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/0.7522, allocations: 0.8673 MB / 0.7891 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005845/0.7528, allocations: 35.98 kB / 0.7891 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/0.7551, allocations: 296 kB / 0.7894 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.7554, allocations: 121.7 kB / 0.7895 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.7555, allocations: 83.94 kB / 0.7896 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003546/0.7591, allocations: 2.541 MB / 0.7921 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7591, allocations: 0 / 0.7921 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006486/0.7656, allocations: 2.299 MB / 0.7943 GB, free: 4.16 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.001049/0.7666, allocations: 498.2 kB / 0.7948 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01607/0.7827, allocations: 5.812 MB / 0.8005 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7827, allocations: 192 / 0.8005 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.7854, allocations: 1.831 MB / 0.8023 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00859/0.794, allocations: 1.823 MB / 0.8041 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.8067, allocations: 9.212 MB / 0.8131 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/0.8092, allocations: 3.042 MB / 0.816 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004102/0.8133, allocations: 1.303 MB / 0.8173 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/0.814, allocations: 251.4 kB / 0.8175 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/0.814, allocations: 0 / 0.8175 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.3654/1.179, allocations: 87.02 MB / 0.9025 GB, free: 194.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: