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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008321/0.008321, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7411/0.7411, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 406.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009701, allocations: 95.19 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006027/0.0006027, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4791, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7839/1.263, allocations: 383 MB / 1.024 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.263, allocations: 102.1 kB / 1.024 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.088/7.351, allocations: 1.655 GB / 2.678 GB, free: 98.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.434e-06/7.351, allocations: 0 / 2.678 GB, free: 98.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007238/7.352, allocations: 120.4 kB / 2.678 GB, free: 98.23 MB / 0.698 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/7.369, allocations: 4.749 MB / 2.683 GB, free: 96.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/7.369, allocations: 13.84 kB / 2.683 GB, free: 96.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002032/7.371, allocations: 425.8 kB / 2.683 GB, free: 96.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009114/7.38, allocations: 1.634 MB / 2.685 GB, free: 96.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04035/7.42, allocations: 18.43 MB / 2.703 GB, free: 95.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/7.42, allocations: 228.7 kB / 2.703 GB, free: 95.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/7.422, allocations: 309.6 kB / 2.703 GB, free: 95.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007198/7.429, allocations: 4.345 MB / 2.708 GB, free: 94.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.476e-05/7.429, allocations: 9.812 kB / 2.708 GB, free: 94.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003771/7.429, allocations: 125.2 kB / 2.708 GB, free: 94.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/7.429, allocations: 144.1 kB / 2.708 GB, free: 94.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/7.435, allocations: 3.767 MB / 2.712 GB, free: 94.57 MB / 0.698 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.02829/7.464, allocations: 20.07 MB / 2.731 GB, free: 84.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/7.468, allocations: 2.634 MB / 2.734 GB, free: 84.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005141/7.468, allocations: 0.5368 MB / 2.734 GB, free: 84.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/7.468, allocations: 64.11 kB / 2.734 GB, free: 84.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=184): time 4.319e-06/7.468, allocations: 0 / 2.734 GB, free: 84.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=184): time 0.01997/7.488, allocations: 6.195 MB / 2.74 GB, free: 83.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/7.488, allocations: 78.47 kB / 2.74 GB, free: 83.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007384/7.496, allocations: 3.095 MB / 2.743 GB, free: 82.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008453/7.497, allocations: 78.53 kB / 2.744 GB, free: 82.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/7.499, allocations: 1.767 MB / 2.745 GB, free: 82.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/7.5, allocations: 0.6289 MB / 2.746 GB, free: 81.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006052/7.501, allocations: 48.69 kB / 2.746 GB, free: 81.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003066/7.501, allocations: 409.5 kB / 2.746 GB, free: 81.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/7.504, allocations: 1.24 MB / 2.748 GB, free: 81.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/7.507, allocations: 1.929 MB / 2.749 GB, free: 80.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/7.51, allocations: 1.595 MB / 2.751 GB, free: 80.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.957e-05/7.51, allocations: 7.188 kB / 2.751 GB, free: 80.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01057/7.521, allocations: 4.234 MB / 2.755 GB, free: 80.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001847/7.523, allocations: 7.287 MB / 2.762 GB, free: 73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/7.523, allocations: 20.73 kB / 2.762 GB, free: 73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006592/7.529, allocations: 1.505 MB / 2.764 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/7.532, allocations: 0.4892 MB / 2.764 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/7.538, allocations: 4.845 MB / 2.769 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/7.543, allocations: 453.9 kB / 2.769 GB, free: 70.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007219/7.544, allocations: 120.1 kB / 2.77 GB, free: 70.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/7.544, allocations: 4.531 kB / 2.77 GB, free: 70.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009274/7.553, allocations: 3.956 MB / 2.773 GB, free: 70 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-05/7.553, allocations: 18.06 kB / 2.773 GB, free: 70 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006201/7.559, allocations: 1.534 MB / 2.775 GB, free: 69.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/7.562, allocations: 473.1 kB / 2.775 GB, free: 69.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/7.567, allocations: 3.658 MB / 2.779 GB, free: 68.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005115/7.572, allocations: 386.2 kB / 2.779 GB, free: 68.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007771/7.573, allocations: 116.4 kB / 2.779 GB, free: 68.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (237): * Single equations (assignments): 232 * 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 {4 7,5 50,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.004329/7.577, allocations: 1.495 MB / 2.781 GB, free: 68.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/7.579, allocations: 339.7 kB / 2.781 GB, free: 67.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007034/7.586, allocations: 3.331 MB / 2.784 GB, free: 67.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/7.586, allocations: 20.16 kB / 2.784 GB, free: 67.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.58e-05/7.586, allocations: 3.219 kB / 2.784 GB, free: 67.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003958/7.59, allocations: 2.72 MB / 2.787 GB, free: 66.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/7.607, allocations: 7.176 MB / 2.794 GB, free: 63.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/7.607, allocations: 0 / 2.794 GB, free: 63.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/7.609, allocations: 287.4 kB / 2.794 GB, free: 63.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003725/7.612, allocations: 1.095 MB / 2.795 GB, free: 63.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/7.613, allocations: 57.88 kB / 2.796 GB, free: 63.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00697/7.62, allocations: 10.1 MB / 2.805 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/7.62, allocations: 3.25 kB / 2.805 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008353/7.628, allocations: 4.823 MB / 2.81 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003293/7.631, allocations: 0.8476 MB / 2.811 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/7.633, allocations: 39.59 kB / 2.811 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00353/7.636, allocations: 229 kB / 2.811 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/7.637, allocations: 120 kB / 2.811 GB, free: 51.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003791/7.637, allocations: 94.33 kB / 2.811 GB, free: 51.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005103/7.642, allocations: 2.4 MB / 2.814 GB, free: 51.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/7.642, allocations: 3.969 kB / 2.814 GB, free: 51.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0116/7.654, allocations: 2.279 MB / 2.816 GB, free: 50.63 MB / 0.698 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 (137): * Single equations (assignments): 127 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 60} Notification: Performance of Backend phase and start with SimCode phase: time 0.01044/7.664, allocations: 6.157 MB / 2.822 GB, free: 46.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01306/7.677, allocations: 5.336 MB / 2.827 GB, free: 42.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/7.677, allocations: 2.625 kB / 2.827 GB, free: 42.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002872/7.68, allocations: 1.897 MB / 2.829 GB, free: 40.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009151/7.689, allocations: 1.778 MB / 2.831 GB, free: 39.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/7.716, allocations: 22.96 MB / 2.853 GB, free: 17.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003793/7.72, allocations: 3.05 MB / 2.856 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005958/7.726, allocations: 1.35 MB / 2.857 GB, free: 13.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/7.729, allocations: 1.531 MB / 2.859 GB, free: 12.41 MB / 0.698 GB Notification: Performance of SimCode: time 1.954e-06/7.729, allocations: 0 / 2.859 GB, free: 12.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6175/8.346, allocations: 118.1 MB / 2.974 GB, free: 99.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/8.346, allocations: 260.4 kB / 2.975 GB, free: 99.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.883/14.23, allocations: 3.234 kB / 2.975 GB, free: 99.56 MB / 0.7136 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)