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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_dev_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.001683/0.001683, allocations: 99.7 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.002104/0.002104, 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 2.569/2.569, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.763/1.763, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006129/0.000613, allocations: 8 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3421, allocations: 82.31 MB / 0.5873 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.7314/1.074, allocations: 39.14 MB / 0.6255 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02806/1.102, allocations: 11.01 MB / 0.6363 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004921/1.107, allocations: 54.97 kB / 0.6363 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004576/1.111, allocations: 0.6956 MB / 0.637 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01494/1.126, allocations: 2.255 MB / 0.6392 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008246/1.135, allocations: 1.435 MB / 0.6406 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02156/1.156, allocations: 7.329 MB / 0.6477 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01285/1.169, allocations: 3.934 MB / 0.6516 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01332/1.183, allocations: 2.905 MB / 0.6544 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01285/1.196, allocations: 2.472 MB / 0.6568 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003293/1.199, allocations: 192.2 kB / 0.657 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01758/1.217, allocations: 1.12 MB / 0.6581 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004997/1.222, allocations: 0.9462 MB / 0.659 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00657/1.228, allocations: 0.9442 MB / 0.66 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02286/1.251, allocations: 6.341 MB / 0.6662 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/1.251, allocations: 0 / 0.6662 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.264e-06/1.251, allocations: 1 kB / 0.6662 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004663/1.252, allocations: 0 / 0.6662 GB, free: 12.27 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.02868/1.281, allocations: 4.537 MB / 0.6706 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.705e-05/1.281, allocations: 9.625 kB / 0.6706 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004546/1.285, allocations: 430.1 kB / 0.671 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/1.303, allocations: 1.221 MB / 0.6722 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02625/1.329, allocations: 4.812 MB / 0.6769 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007434/1.33, allocations: 233.5 kB / 0.6771 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003009/1.333, allocations: 300.9 kB / 0.6774 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/1.357, allocations: 4.442 MB / 0.6817 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003739/1.358, allocations: 7.969 kB / 0.6818 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/1.361, allocations: 131.3 kB / 0.6819 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004151/1.361, allocations: 140.4 kB / 0.682 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/1.379, allocations: 3.794 MB / 0.6857 GB, free: 1.895 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.07081/1.45, allocations: 20.8 MB / 0.706 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/1.457, allocations: 2.289 MB / 0.7083 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009597/1.458, allocations: 0.535 MB / 0.7088 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.987e-05/1.458, allocations: 59.86 kB / 0.7088 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=160): time 5.39e-06/1.458, allocations: 0 / 0.7088 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.04098/1.499, allocations: 6.184 MB / 0.7149 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/1.499, allocations: 72.72 kB / 0.715 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0141/1.513, allocations: 3.618 MB / 0.7185 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001265/1.515, allocations: 65.7 kB / 0.7186 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00394/1.519, allocations: 1.794 MB / 0.7203 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001996/1.521, allocations: 0.5545 MB / 0.7208 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007243/1.521, allocations: 44 kB / 0.7209 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004655/1.522, allocations: 394.3 kB / 0.7213 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006459/1.528, allocations: 1.359 MB / 0.7226 GB, free: 15.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007232/1.536, allocations: 1.928 MB / 0.7245 GB, free: 13.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007009/1.543, allocations: 1.657 MB / 0.7261 GB, free: 12.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/1.543, allocations: 4 kB / 0.7261 GB, free: 12.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.02975/1.573, allocations: 4.936 MB / 0.7309 GB, free: 7.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.003074/1.576, allocations: 6.239 MB / 0.737 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.835e-05/1.576, allocations: 19.94 kB / 0.737 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0268/1.603, allocations: 2.872 MB / 0.7398 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/1.607, allocations: 0.5 MB / 0.7403 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/1.624, allocations: 5.598 MB / 0.7458 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/1.635, allocations: 0.5167 MB / 0.7463 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.636, allocations: 107.9 kB / 0.7464 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.636, allocations: 4 kB / 0.7464 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02395/1.66, allocations: 4.62 MB / 0.7509 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-05/1.661, allocations: 12 kB / 0.7509 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02504/1.686, allocations: 2.807 MB / 0.7537 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/1.69, allocations: 475.3 kB / 0.7541 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/1.707, allocations: 4.422 MB / 0.7584 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009803/1.717, allocations: 481.6 kB / 0.7589 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/1.719, allocations: 107.9 kB / 0.759 GB, free: 9.516 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.007455/1.726, allocations: 1.484 MB / 0.7604 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002501/1.729, allocations: 328.1 kB / 0.7608 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009183/1.738, allocations: 3.064 MB / 0.7637 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.966e-05/1.738, allocations: 20 kB / 0.7638 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/1.738, allocations: 0 / 0.7638 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007001/1.745, allocations: 2.493 MB / 0.7662 GB, free: 2.07 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.02998/1.775, allocations: 6.944 MB / 0.773 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.775, allocations: 8.094 kB / 0.773 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/1.777, allocations: 267.6 kB / 0.7732 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005331/1.782, allocations: 0.9215 MB / 0.7741 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005028/1.783, allocations: 51.98 kB / 0.7742 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/1.803, allocations: 10.47 MB / 0.7844 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/1.803, allocations: 4.062 kB / 0.7844 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/1.817, allocations: 4.429 MB / 0.7887 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004998/1.822, allocations: 0.8712 MB / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/1.824, allocations: 32 kB / 0.7896 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006657/1.831, allocations: 295.1 kB / 0.7899 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008621/1.832, allocations: 117.8 kB / 0.79 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006359/1.832, allocations: 83.94 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009338/1.842, allocations: 2.541 MB / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.61e-07/1.842, allocations: 4 kB / 0.7926 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01915/1.861, allocations: 2.295 MB / 0.7948 GB, free: 3.812 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.01872/1.88, allocations: 5.519 MB / 0.8002 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.03239/1.912, allocations: 5.827 MB / 0.8059 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.5e-05/1.912, allocations: 0 / 0.8059 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006024/1.918, allocations: 1.824 MB / 0.8077 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01911/1.938, allocations: 1.845 MB / 0.8095 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06016/1.998, allocations: 21.13 MB / 0.8301 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007196/2.005, allocations: 3.042 MB / 0.8331 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008909/2.014, allocations: 1.317 MB / 0.8344 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005722/2.02, allocations: 1.53 MB / 0.8359 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.084e-06/2.02, allocations: 0 / 0.8359 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.024/3.044, allocations: 119.2 MB / 0.9523 GB, free: 158.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003734/3.045, allocations: 263.7 kB / 0.9525 GB, free: 158.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/13.28, allocations: 0 / 0.9525 GB, free: 158.5 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1) Environment - environmentSimulation: