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.8072/0.8072, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001383/0.001383, allocations: 184.7 kB / 191.5 MB, free: 5.754 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.458/1.458, allocations: 223.2 MB / 447.7 MB, free: 6.516 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.0008944/0.0008944, allocations: 96.25 kB / 0.5188 GB, free: 2.875 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 287.6 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004684, allocations: 12 kB / 0.6929 GB, free: 2.305 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3971, allocations: 82.78 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7598/1.157, allocations: 380.2 MB / 1.145 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.157, allocations: 106.6 kB / 1.145 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.178/7.335, allocations: 1.649 GB / 2.794 GB, free: 99.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/7.335, allocations: 0.6875 kB / 2.794 GB, free: 99.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0009484/7.336, allocations: 106.9 kB / 2.794 GB, free: 99.42 MB / 0.7136 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.0218/7.358, allocations: 4.693 MB / 2.799 GB, free: 98.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/7.358, allocations: 9.203 kB / 2.799 GB, free: 98.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/7.37, allocations: 1.638 MB / 2.801 GB, free: 98.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04794/7.418, allocations: 18.26 MB / 2.818 GB, free: 97.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/7.419, allocations: 231.4 kB / 2.819 GB, free: 97.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/7.42, allocations: 306.9 kB / 2.819 GB, free: 97.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008728/7.429, allocations: 4.337 MB / 2.823 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.534e-05/7.429, allocations: 11.09 kB / 2.823 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004844/7.429, allocations: 124.3 kB / 2.823 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/7.43, allocations: 145 kB / 2.824 GB, free: 96.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007024/7.437, allocations: 3.761 MB / 2.827 GB, free: 96.84 MB / 0.7136 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.0359/7.473, allocations: 20.06 MB / 2.847 GB, free: 87.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004512/7.477, allocations: 2.622 MB / 2.849 GB, free: 87.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/7.478, allocations: 0.5477 MB / 2.85 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/7.478, allocations: 69.84 kB / 2.85 GB, free: 86.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=184): time 4.388e-06/7.478, allocations: 0 / 2.85 GB, free: 86.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=184): time 0.02103/7.499, allocations: 6.189 MB / 2.856 GB, free: 85.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/7.499, allocations: 71.94 kB / 2.856 GB, free: 85.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008046/7.507, allocations: 3.045 MB / 2.859 GB, free: 85.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009353/7.508, allocations: 69.8 kB / 2.859 GB, free: 85.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002364/7.51, allocations: 1.738 MB / 2.861 GB, free: 84.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/7.512, allocations: 0.6332 MB / 2.861 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006266/7.512, allocations: 48.62 kB / 2.861 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000326/7.513, allocations: 407.5 kB / 2.862 GB, free: 83.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/7.516, allocations: 1.24 MB / 2.863 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/7.519, allocations: 1.922 MB / 2.865 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/7.522, allocations: 1.591 MB / 2.866 GB, free: 83.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/7.522, allocations: 7.5 kB / 2.866 GB, free: 83.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01089/7.533, allocations: 4.238 MB / 2.871 GB, free: 82.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002051/7.535, allocations: 7.246 MB / 2.878 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.828e-05/7.535, allocations: 18.19 kB / 2.878 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006682/7.542, allocations: 1.514 MB / 2.879 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/7.544, allocations: 0.4888 MB / 2.88 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/7.55, allocations: 4.844 MB / 2.884 GB, free: 72.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00658/7.557, allocations: 451.7 kB / 2.885 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/7.558, allocations: 122.9 kB / 2.885 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/7.558, allocations: 3.906 kB / 2.885 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009803/7.568, allocations: 3.96 MB / 2.889 GB, free: 72.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-05/7.568, allocations: 21.16 kB / 2.889 GB, free: 72.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/7.574, allocations: 1.538 MB / 2.89 GB, free: 72.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/7.576, allocations: 476.5 kB / 2.891 GB, free: 72.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/7.581, allocations: 3.644 MB / 2.894 GB, free: 70.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004436/7.585, allocations: 385.7 kB / 2.895 GB, free: 70.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005537/7.586, allocations: 115 kB / 2.895 GB, free: 70.53 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 () * 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.003757/7.59, allocations: 1.482 MB / 2.896 GB, free: 70.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001786/7.592, allocations: 330.1 kB / 2.897 GB, free: 70.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006259/7.598, allocations: 3.338 MB / 2.9 GB, free: 69.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/7.598, allocations: 24.27 kB / 2.9 GB, free: 69.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/7.598, allocations: 0 / 2.9 GB, free: 69.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003792/7.602, allocations: 2.717 MB / 2.903 GB, free: 69.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/7.617, allocations: 7.148 MB / 2.91 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/7.617, allocations: 2.562 kB / 2.91 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/7.618, allocations: 292.8 kB / 2.91 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003441/7.622, allocations: 1.092 MB / 2.911 GB, free: 69.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/7.622, allocations: 49.25 kB / 2.911 GB, free: 69.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006701/7.629, allocations: 10.1 MB / 2.921 GB, free: 61.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/7.629, allocations: 0 / 2.921 GB, free: 61.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00741/7.636, allocations: 4.817 MB / 2.925 GB, free: 60.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/7.64, allocations: 0.8355 MB / 2.926 GB, free: 60.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001323/7.641, allocations: 36.47 kB / 2.926 GB, free: 60.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003372/7.644, allocations: 239.4 kB / 2.927 GB, free: 60.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/7.645, allocations: 114.8 kB / 2.927 GB, free: 60.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/7.645, allocations: 101.5 kB / 2.927 GB, free: 60.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00447/7.649, allocations: 2.356 MB / 2.929 GB, free: 60.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/7.649, allocations: 0 / 2.929 GB, free: 60.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01339/7.663, allocations: 2.272 MB / 2.931 GB, free: 59.84 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 () * 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.002344/7.665, allocations: 0.7113 MB / 2.932 GB, free: 59.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01317/7.678, allocations: 5.345 MB / 2.937 GB, free: 59.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/7.679, allocations: 2.625 kB / 2.937 GB, free: 59.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002973/7.682, allocations: 1.898 MB / 2.939 GB, free: 59.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009069/7.691, allocations: 1.774 MB / 2.941 GB, free: 59.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/7.708, allocations: 9.192 MB / 2.95 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005103/7.713, allocations: 3.021 MB / 2.953 GB, free: 70.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006078/7.719, allocations: 1.355 MB / 2.954 GB, free: 70.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/7.72, allocations: 251.3 kB / 2.954 GB, free: 70.82 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/7.72, allocations: 0 / 2.954 GB, free: 70.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.1264/7.847, allocations: 84.28 MB / 3.037 GB, free: 27.61 MB / 0.7292 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)