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/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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 98.45 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.002033/0.002033, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.304/2.304, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.268/1.268, allocations: 132.3 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006654/0.000666, allocations: 19.94 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9235, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.08013/1.004, allocations: 39.16 MB / 0.6212 GB, free: 7.172 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0316/1.035, allocations: 11 MB / 0.632 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004074/1.04, allocations: 54.91 kB / 0.632 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/1.043, allocations: 0.6957 MB / 0.6327 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/1.055, allocations: 2.257 MB / 0.6349 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009328/1.064, allocations: 1.429 MB / 0.6363 GB, free: 9.922 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02687/1.091, allocations: 7.326 MB / 0.6434 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/1.105, allocations: 3.943 MB / 0.6473 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/1.117, allocations: 2.908 MB / 0.6501 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007513/1.124, allocations: 2.463 MB / 0.6525 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001937/1.126, allocations: 192 kB / 0.6527 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007314/1.133, allocations: 1.12 MB / 0.6538 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003943/1.138, allocations: 0.9536 MB / 0.6548 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004143/1.142, allocations: 0.9447 MB / 0.6557 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01638/1.158, allocations: 6.348 MB / 0.6619 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.158, allocations: 0 / 0.6619 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.482e-06/1.158, allocations: 0 / 0.6619 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003727/1.159, allocations: 0 / 0.6619 GB, free: 15.62 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.02409/1.183, allocations: 4.534 MB / 0.6663 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.743e-05/1.183, allocations: 8.031 kB / 0.6663 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003137/1.186, allocations: 429 kB / 0.6667 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/1.2, allocations: 1.224 MB / 0.6679 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/1.223, allocations: 4.813 MB / 0.6726 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004499/1.223, allocations: 229.7 kB / 0.6728 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/1.225, allocations: 300 kB / 0.6731 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/1.245, allocations: 4.442 MB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/1.245, allocations: 7.938 kB / 0.6775 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/1.246, allocations: 132 kB / 0.6776 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003237/1.246, allocations: 141.5 kB / 0.6777 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/1.263, allocations: 3.796 MB / 0.6814 GB, free: 11.23 MB / 0.5137 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.06764/1.33, allocations: 20.8 MB / 0.7017 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007437/1.338, allocations: 2.294 MB / 0.704 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009623/1.339, allocations: 0.5389 MB / 0.7045 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.339, allocations: 55.88 kB / 0.7046 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=160): time 6.412e-06/1.339, allocations: 0 / 0.7046 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.03889/1.378, allocations: 6.184 MB / 0.7106 GB, free: 11.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.378, allocations: 72.72 kB / 0.7107 GB, free: 11.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/1.39, allocations: 3.618 MB / 0.7142 GB, free: 8.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/1.391, allocations: 65.7 kB / 0.7143 GB, free: 8.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003401/1.394, allocations: 1.794 MB / 0.716 GB, free: 6.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/1.396, allocations: 0.5468 MB / 0.7166 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/1.396, allocations: 44 kB / 0.7166 GB, free: 5.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003813/1.397, allocations: 394.3 kB / 0.717 GB, free: 5.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005865/1.402, allocations: 1.355 MB / 0.7183 GB, free: 3.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007086/1.41, allocations: 1.924 MB / 0.7202 GB, free: 1.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/1.416, allocations: 1.665 MB / 0.7218 GB, free: 24 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.623e-05/1.417, allocations: 4 kB / 0.7218 GB, free: 20 kB / 0.545 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.0275/1.444, allocations: 4.94 MB / 0.7266 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.004336/1.448, allocations: 6.235 MB / 0.7327 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.005e-05/1.449, allocations: 16 kB / 0.7327 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02846/1.477, allocations: 2.859 MB / 0.7355 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/1.482, allocations: 0.503 MB / 0.736 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/1.502, allocations: 5.611 MB / 0.7415 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008913/1.51, allocations: 0.5244 MB / 0.742 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.512, allocations: 107.9 kB / 0.7421 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.512, allocations: 4 kB / 0.7421 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02363/1.535, allocations: 4.616 MB / 0.7466 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.261e-05/1.535, allocations: 12 kB / 0.7466 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02553/1.561, allocations: 2.805 MB / 0.7494 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003928/1.565, allocations: 475.3 kB / 0.7498 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/1.583, allocations: 4.414 MB / 0.7541 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007777/1.591, allocations: 489.6 kB / 0.7546 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009309/1.592, allocations: 104 kB / 0.7547 GB, free: 13.43 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 (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.006154/1.598, allocations: 1.484 MB / 0.7561 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002425/1.6, allocations: 332.1 kB / 0.7565 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009714/1.61, allocations: 3.058 MB / 0.7595 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/1.61, allocations: 20 kB / 0.7595 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.61, allocations: 96 / 0.7595 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006938/1.617, allocations: 2.504 MB / 0.7619 GB, free: 5.969 MB / 0.5919 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.02325/1.641, allocations: 6.944 MB / 0.7687 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/1.641, allocations: 4 kB / 0.7687 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/1.643, allocations: 267.7 kB / 0.769 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005616/1.649, allocations: 0.9253 MB / 0.7699 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004077/1.649, allocations: 55.94 kB / 0.7699 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/1.665, allocations: 10.46 MB / 0.7801 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.665, allocations: 3.984 kB / 0.7801 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.68, allocations: 4.421 MB / 0.7844 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005285/1.685, allocations: 0.8712 MB / 0.7853 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001968/1.687, allocations: 32 kB / 0.7853 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006588/1.694, allocations: 293.8 kB / 0.7856 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006373/1.694, allocations: 117.8 kB / 0.7857 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004358/1.695, allocations: 87.94 kB / 0.7858 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.008909/1.704, allocations: 2.541 MB / 0.7883 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.41e-07/1.704, allocations: 4 kB / 0.7883 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01757/1.721, allocations: 2.303 MB / 0.7905 GB, free: 7.711 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 (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.01734/1.739, allocations: 5.512 MB / 0.7959 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.03485/1.774, allocations: 5.818 MB / 0.8016 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/1.774, allocations: 7.938 kB / 0.8016 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006058/1.78, allocations: 1.82 MB / 0.8034 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01741/1.797, allocations: 1.834 MB / 0.8052 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5981/2.395, allocations: 21.14 MB / 0.8258 GB, free: 190.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006919/2.402, allocations: 3.043 MB / 0.8288 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.009919/2.412, allocations: 1.311 MB / 0.8301 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004729/2.417, allocations: 1.529 MB / 0.8316 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.753e-06/2.417, allocations: 0 / 0.8316 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8846/3.302, allocations: 119.2 MB / 0.948 GB, free: 89.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00037/3.302, allocations: 258.3 kB / 0.9482 GB, free: 89.14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/11.93, allocations: 0 / 0.9482 GB, free: 89.14 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1) Environment - environmentSimulation: