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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.008211/0.008211, allocations: 170 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8033/0.8033, 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.41/1.41, allocations: 223.2 MB / 406.9 MB, free: 3.23 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.0009213/0.0009213, allocations: 93.77 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 12 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.455, allocations: 82.31 MB / 0.6495 GB, free: 36.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.824/1.279, allocations: 383 MB / 1.024 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.279, allocations: 102.1 kB / 1.024 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.93/8.21, allocations: 1.655 GB / 2.678 GB, free: 99.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/8.21, allocations: 0 / 2.678 GB, free: 99.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007896/8.21, allocations: 115.2 kB / 2.678 GB, free: 99.18 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.01763/8.228, allocations: 4.751 MB / 2.683 GB, free: 97.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/8.228, allocations: 11.06 kB / 2.683 GB, free: 97.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002358/8.231, allocations: 421.4 kB / 2.683 GB, free: 97.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009773/8.24, allocations: 1.642 MB / 2.685 GB, free: 97.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04176/8.282, allocations: 18.43 MB / 2.703 GB, free: 96.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/8.282, allocations: 229.3 kB / 2.703 GB, free: 96.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/8.284, allocations: 305.3 kB / 2.703 GB, free: 96.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008031/8.292, allocations: 4.341 MB / 2.708 GB, free: 95.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.313e-05/8.292, allocations: 16.22 kB / 2.708 GB, free: 95.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004557/8.292, allocations: 121.5 kB / 2.708 GB, free: 95.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/8.293, allocations: 145.3 kB / 2.708 GB, free: 95.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/8.299, allocations: 3.761 MB / 2.712 GB, free: 95.52 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.03063/8.33, allocations: 20.08 MB / 2.731 GB, free: 85.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/8.334, allocations: 2.627 MB / 2.734 GB, free: 85.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/8.334, allocations: 0.5357 MB / 2.734 GB, free: 85.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/8.334, allocations: 64.78 kB / 2.734 GB, free: 85.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=184): time 5.22e-06/8.334, allocations: 0 / 2.734 GB, free: 85.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=184): time 0.01941/8.354, allocations: 6.197 MB / 2.74 GB, free: 84.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/8.354, allocations: 68.19 kB / 2.74 GB, free: 84.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/8.359, allocations: 3.101 MB / 2.743 GB, free: 83.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007784/8.36, allocations: 72.23 kB / 2.744 GB, free: 83.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/8.361, allocations: 1.768 MB / 2.745 GB, free: 83.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009633/8.362, allocations: 0.626 MB / 2.746 GB, free: 82.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/8.363, allocations: 52.81 kB / 2.746 GB, free: 82.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001574/8.363, allocations: 404.3 kB / 2.746 GB, free: 82.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/8.365, allocations: 1.242 MB / 2.748 GB, free: 82.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/8.367, allocations: 1.926 MB / 2.749 GB, free: 81.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/8.369, allocations: 1.592 MB / 2.751 GB, free: 81.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/8.369, allocations: 4.812 kB / 2.751 GB, free: 81.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008305/8.377, allocations: 4.252 MB / 2.755 GB, free: 81.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001775/8.379, allocations: 7.285 MB / 2.762 GB, free: 73.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/8.379, allocations: 18.83 kB / 2.762 GB, free: 73.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006312/8.386, allocations: 1.5 MB / 2.764 GB, free: 73.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/8.388, allocations: 0.4943 MB / 2.764 GB, free: 73.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/8.393, allocations: 4.853 MB / 2.769 GB, free: 71.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004739/8.398, allocations: 448.3 kB / 2.769 GB, free: 71.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004874/8.399, allocations: 123.7 kB / 2.769 GB, free: 71.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/8.399, allocations: 3.125 kB / 2.77 GB, free: 71.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007134/8.406, allocations: 3.96 MB / 2.773 GB, free: 70.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/8.406, allocations: 22.56 kB / 2.773 GB, free: 70.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/8.412, allocations: 1.532 MB / 2.775 GB, free: 70.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/8.414, allocations: 475.9 kB / 2.775 GB, free: 70.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004342/8.418, allocations: 3.656 MB / 2.779 GB, free: 69.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/8.422, allocations: 383.2 kB / 2.779 GB, free: 69.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/8.423, allocations: 111.1 kB / 2.779 GB, free: 69.2 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.00322/8.426, allocations: 1.507 MB / 2.781 GB, free: 69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/8.427, allocations: 334.4 kB / 2.781 GB, free: 68.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/8.433, allocations: 3.326 MB / 2.784 GB, free: 68.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/8.433, allocations: 24 kB / 2.784 GB, free: 68.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/8.433, allocations: 3.719 kB / 2.784 GB, free: 68.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003424/8.436, allocations: 2.718 MB / 2.787 GB, free: 67.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/8.449, allocations: 7.167 MB / 2.794 GB, free: 64.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/8.45, allocations: 6.172 kB / 2.794 GB, free: 64.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/8.451, allocations: 274.6 kB / 2.794 GB, free: 64.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/8.454, allocations: 1.1 MB / 2.795 GB, free: 64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/8.454, allocations: 53.86 kB / 2.795 GB, free: 63.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007134/8.462, allocations: 10.1 MB / 2.805 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/8.462, allocations: 0 / 2.805 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008022/8.47, allocations: 4.822 MB / 2.81 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/8.473, allocations: 0.8451 MB / 2.811 GB, free: 52.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008585/8.473, allocations: 39.84 kB / 2.811 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/8.476, allocations: 235.7 kB / 2.811 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/8.476, allocations: 128.9 kB / 2.811 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/8.477, allocations: 93.11 kB / 2.811 GB, free: 52.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003572/8.48, allocations: 2.404 MB / 2.814 GB, free: 51.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/8.48, allocations: 0 / 2.814 GB, free: 51.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009625/8.49, allocations: 2.28 MB / 2.816 GB, free: 51.09 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.009214/8.499, allocations: 6.149 MB / 2.822 GB, free: 46.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01197/8.511, allocations: 5.343 MB / 2.827 GB, free: 42.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/8.511, allocations: 256 / 2.827 GB, free: 42.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002708/8.514, allocations: 1.9 MB / 2.829 GB, free: 40.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008639/8.522, allocations: 1.777 MB / 2.831 GB, free: 39.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/8.548, allocations: 22.96 MB / 2.853 GB, free: 17.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/8.55, allocations: 3.05 MB / 2.856 GB, free: 14.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004909/8.555, allocations: 1.351 MB / 2.857 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00243/8.558, allocations: 1.527 MB / 2.859 GB, free: 12.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.342e-06/8.558, allocations: 0 / 2.859 GB, free: 12.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.07/10.63, allocations: 118.1 MB / 2.974 GB, free: 101 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/10.63, allocations: 257 kB / 2.975 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.576/17.2, allocations: 0 / 2.975 GB, free: 100.7 MB / 0.7136 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)