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.001336/0.001337, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7546/0.7546, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.622/1.622, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009201, allocations: 95.34 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.047e-05/5.084e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1942, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.499/1.693, allocations: 382.9 MB / 1.014 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.693, allocations: 94.69 kB / 1.015 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.002/8.695, allocations: 1.65 GB / 2.665 GB, free: 96.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/8.695, allocations: 0 / 2.665 GB, free: 96.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0009585/8.696, allocations: 128.3 kB / 2.665 GB, free: 96.86 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.01516/8.711, allocations: 3.884 MB / 2.669 GB, free: 95.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/8.711, allocations: 9.812 kB / 2.669 GB, free: 95.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002168/8.713, allocations: 416.7 kB / 2.669 GB, free: 95.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/8.724, allocations: 1.63 MB / 2.671 GB, free: 95.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04501/8.769, allocations: 18.33 MB / 2.689 GB, free: 93.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004003/8.769, allocations: 225.5 kB / 2.689 GB, free: 93.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001818/8.771, allocations: 308 kB / 2.689 GB, free: 93.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/8.784, allocations: 4.278 MB / 2.693 GB, free: 93.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/8.785, allocations: 13.12 kB / 2.693 GB, free: 93.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/8.786, allocations: 125.5 kB / 2.693 GB, free: 93.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/8.786, allocations: 144.7 kB / 2.694 GB, free: 93.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006531/8.793, allocations: 3.686 MB / 2.697 GB, free: 93.35 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.02953/8.822, allocations: 20.08 MB / 2.717 GB, free: 83.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/8.826, allocations: 2.593 MB / 2.719 GB, free: 82.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/8.828, allocations: 1.284 MB / 2.721 GB, free: 81.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000535/8.829, allocations: 0.5435 MB / 2.721 GB, free: 81.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/8.829, allocations: 60.22 kB / 2.721 GB, free: 81.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=184): time 4.208e-06/8.829, allocations: 0 / 2.721 GB, free: 81.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=184): time 0.006407/8.835, allocations: 2.903 MB / 2.724 GB, free: 80.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/8.835, allocations: 72 kB / 2.724 GB, free: 80.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007273/8.842, allocations: 3.07 MB / 2.727 GB, free: 79.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005677/8.843, allocations: 72.33 kB / 2.727 GB, free: 78.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002057/8.845, allocations: 1.765 MB / 2.729 GB, free: 77.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000879/8.846, allocations: 0.6367 MB / 2.73 GB, free: 77.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/8.846, allocations: 50.91 kB / 2.73 GB, free: 77.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002708/8.847, allocations: 406.3 kB / 2.73 GB, free: 76.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/8.849, allocations: 1.187 MB / 2.731 GB, free: 76.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/8.851, allocations: 1.873 MB / 2.733 GB, free: 75.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/8.854, allocations: 1.55 MB / 2.734 GB, free: 74.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/8.854, allocations: 3.688 kB / 2.734 GB, free: 74.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008939/8.863, allocations: 4.112 MB / 2.738 GB, free: 73.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001938/8.865, allocations: 7.279 MB / 2.746 GB, free: 65.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-05/8.865, allocations: 22.53 kB / 2.746 GB, free: 65.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006315/8.871, allocations: 1.468 MB / 2.747 GB, free: 65.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/8.873, allocations: 497.2 kB / 2.747 GB, free: 65.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/8.878, allocations: 4.758 MB / 2.752 GB, free: 62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/8.884, allocations: 446.7 kB / 2.753 GB, free: 61.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005378/8.884, allocations: 130.7 kB / 2.753 GB, free: 61.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/8.884, allocations: 3.969 kB / 2.753 GB, free: 61.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007996/8.892, allocations: 3.831 MB / 2.756 GB, free: 60.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.988e-05/8.892, allocations: 17.88 kB / 2.756 GB, free: 60.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005825/8.898, allocations: 1.494 MB / 2.758 GB, free: 60.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/8.9, allocations: 474.8 kB / 2.758 GB, free: 60.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/8.904, allocations: 3.558 MB / 2.762 GB, free: 58.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/8.908, allocations: 385.6 kB / 2.762 GB, free: 57.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004987/8.909, allocations: 116.5 kB / 2.762 GB, free: 57.91 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 () * 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.001389/8.91, allocations: 257.3 kB / 2.763 GB, free: 57.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002709/8.913, allocations: 334.6 kB / 2.763 GB, free: 57.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007931/8.921, allocations: 3.304 MB / 2.766 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/8.921, allocations: 18.88 kB / 2.766 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/8.921, allocations: 3.75 kB / 2.766 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003849/8.925, allocations: 2.685 MB / 2.769 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/8.94, allocations: 7.188 MB / 2.776 GB, free: 49.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/8.94, allocations: 4.031 kB / 2.776 GB, free: 49.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/8.942, allocations: 278.6 kB / 2.776 GB, free: 49.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/8.945, allocations: 1.104 MB / 2.777 GB, free: 48.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/8.945, allocations: 54.19 kB / 2.777 GB, free: 48.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006394/8.952, allocations: 10.02 MB / 2.787 GB, free: 38.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/8.952, allocations: 0 / 2.787 GB, free: 38.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007357/8.959, allocations: 4.83 MB / 2.792 GB, free: 33.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/8.962, allocations: 0.8392 MB / 2.792 GB, free: 33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/8.963, allocations: 32 kB / 2.793 GB, free: 32.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/8.966, allocations: 231.5 kB / 2.793 GB, free: 32.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/8.967, allocations: 132.3 kB / 2.793 GB, free: 32.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003121/8.967, allocations: 89.53 kB / 2.793 GB, free: 32.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004926/8.972, allocations: 2.374 MB / 2.795 GB, free: 30.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/8.972, allocations: 0 / 2.795 GB, free: 30.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01123/8.983, allocations: 2.274 MB / 2.797 GB, free: 28.33 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 () * 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.009688/8.993, allocations: 6.103 MB / 2.803 GB, free: 22.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01235/9.005, allocations: 5.331 MB / 2.809 GB, free: 17.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/9.005, allocations: 0 / 2.809 GB, free: 17.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002711/9.008, allocations: 1.866 MB / 2.81 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009339/9.017, allocations: 1.788 MB / 2.812 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/9.039, allocations: 7.765 MB / 2.82 GB, free: 5.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00339/9.043, allocations: 3.053 MB / 2.823 GB, free: 2.723 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0082/9.051, allocations: 2.216 MB / 2.825 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/9.054, allocations: 1.465 MB / 2.826 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of SimCode: time 1.103e-06/9.054, allocations: 0 / 2.826 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7209/9.775, allocations: 124.6 MB / 2.948 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003751/9.775, allocations: 243.3 kB / 2.948 GB, free: 97.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.122/15.9, allocations: 0 / 2.948 GB, free: 97.89 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)