Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7959/0.7959, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 168.9 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.000877/0.000877, allocations: 92.06 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 276 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.635e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4924, allocations: 82.78 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.925/1.417, allocations: 379.5 MB / 1.128 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.418, allocations: 96.38 kB / 1.128 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.655/8.073, allocations: 1.637 GB / 2.765 GB, free: 10.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/8.073, allocations: 0 / 2.765 GB, free: 10.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0009478/8.074, allocations: 119.8 kB / 2.765 GB, free: 10.79 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.01468/8.088, allocations: 3.843 MB / 2.769 GB, free: 6.883 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/8.089, allocations: 8.031 kB / 2.769 GB, free: 6.875 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/8.099, allocations: 1.626 MB / 2.77 GB, free: 5.242 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04526/8.144, allocations: 18.12 MB / 2.788 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/8.145, allocations: 92 kB / 2.788 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/8.146, allocations: 176 kB / 2.788 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4735/8.62, allocations: 3.487 MB / 2.792 GB, free: 100 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/8.632, allocations: 3.867 MB / 2.796 GB, free: 99.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.243e-05/8.632, allocations: 9.062 kB / 2.796 GB, free: 99.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004095/8.633, allocations: 6 kB / 2.796 GB, free: 99.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/8.633, allocations: 139.4 kB / 2.796 GB, free: 99.5 MB / 0.7136 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.02643/8.659, allocations: 19.62 MB / 2.815 GB, free: 90.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/8.663, allocations: 2.7 MB / 2.817 GB, free: 90.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/8.665, allocations: 1.313 MB / 2.819 GB, free: 90.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/8.665, allocations: 0.536 MB / 2.819 GB, free: 89.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/8.665, allocations: 57.97 kB / 2.819 GB, free: 89.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=184): time 4.177e-06/8.665, allocations: 0 / 2.819 GB, free: 89.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=184): time 0.00724/8.673, allocations: 2.979 MB / 2.822 GB, free: 89.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/8.673, allocations: 71.81 kB / 2.822 GB, free: 89.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/8.677, allocations: 2.854 MB / 2.825 GB, free: 88.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007617/8.678, allocations: 32.11 kB / 2.825 GB, free: 88.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/8.68, allocations: 1.746 MB / 2.827 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009412/8.681, allocations: 0.6107 MB / 2.827 GB, free: 88.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/8.681, allocations: 0 / 2.827 GB, free: 88.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001519/8.681, allocations: 404.3 kB / 2.828 GB, free: 87.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/8.682, allocations: 1.229 MB / 2.829 GB, free: 87.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/8.684, allocations: 1.895 MB / 2.831 GB, free: 86.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/8.687, allocations: 1.616 MB / 2.832 GB, free: 86.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/8.687, allocations: 3.5 kB / 2.832 GB, free: 86.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007554/8.694, allocations: 4.029 MB / 2.836 GB, free: 86.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001572/8.696, allocations: 7.25 MB / 2.843 GB, free: 79.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/8.696, allocations: 15.66 kB / 2.843 GB, free: 79.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004374/8.7, allocations: 1.246 MB / 2.845 GB, free: 79.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/8.703, allocations: 0.5075 MB / 2.845 GB, free: 79.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/8.708, allocations: 4.917 MB / 2.85 GB, free: 76.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/8.712, allocations: 401.9 kB / 2.85 GB, free: 76.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/8.713, allocations: 120.3 kB / 2.85 GB, free: 76.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/8.713, allocations: 3.938 kB / 2.85 GB, free: 76.29 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005828/8.718, allocations: 3.472 MB / 2.854 GB, free: 76.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/8.718, allocations: 18.03 kB / 2.854 GB, free: 76.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/8.723, allocations: 1.327 MB / 2.855 GB, free: 76.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/8.725, allocations: 486.7 kB / 2.856 GB, free: 76.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/8.729, allocations: 3.575 MB / 2.859 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/8.733, allocations: 328.3 kB / 2.859 GB, free: 74.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/8.734, allocations: 114.1 kB / 2.86 GB, free: 74.55 MB / 0.7136 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 (247): * Single equations (assignments): 242 * 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 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008278/8.735, allocations: 164.4 kB / 2.86 GB, free: 74.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/8.736, allocations: 328.5 kB / 2.86 GB, free: 74.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00505/8.741, allocations: 3.059 MB / 2.863 GB, free: 74.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/8.741, allocations: 18.47 kB / 2.863 GB, free: 74.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/8.741, allocations: 5.375 kB / 2.863 GB, free: 74.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003263/8.744, allocations: 2.484 MB / 2.865 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/8.756, allocations: 6.502 MB / 2.872 GB, free: 73.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/8.756, allocations: 0 / 2.872 GB, free: 73.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/8.757, allocations: 278 kB / 2.872 GB, free: 73.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002835/8.76, allocations: 0.9571 MB / 2.873 GB, free: 73.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/8.76, allocations: 28.39 kB / 2.873 GB, free: 73.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/8.766, allocations: 9.734 MB / 2.883 GB, free: 65.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/8.766, allocations: 3.906 kB / 2.883 GB, free: 65.63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006794/8.773, allocations: 4.525 MB / 2.887 GB, free: 65.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/8.776, allocations: 0.8258 MB / 2.888 GB, free: 64.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008475/8.776, allocations: 2.75 kB / 2.888 GB, free: 64.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002615/8.779, allocations: 201.3 kB / 2.888 GB, free: 64.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/8.779, allocations: 120.3 kB / 2.888 GB, free: 64.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/8.78, allocations: 86.53 kB / 2.888 GB, free: 64.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003399/8.783, allocations: 2.174 MB / 2.89 GB, free: 64.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/8.783, allocations: 2.125 kB / 2.89 GB, free: 64.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01005/8.793, allocations: 2.158 MB / 2.892 GB, free: 64.53 MB / 0.7136 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 (142): * Single equations (assignments): 132 * 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 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.001717/8.795, allocations: 0.6693 MB / 2.893 GB, free: 64.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009138/8.804, allocations: 4.843 MB / 2.898 GB, free: 64.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/8.804, allocations: 3.25 kB / 2.898 GB, free: 64.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/8.806, allocations: 1.778 MB / 2.9 GB, free: 63.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009252/8.816, allocations: 1.735 MB / 2.901 GB, free: 63.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/8.829, allocations: 6.365 MB / 2.907 GB, free: 62.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/8.832, allocations: 3.024 MB / 2.91 GB, free: 61.74 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007238/8.839, allocations: 2.263 MB / 2.913 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/8.84, allocations: 188.7 kB / 2.913 GB, free: 61.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/8.84, allocations: 0 / 2.913 GB, free: 61.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.1239/8.964, allocations: 81.36 MB / 2.992 GB, free: 48.29 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)