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.777/0.777, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 179 kB / 187.3 MB, free: 11.88 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.623/1.623, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.000965/0.0009647, allocations: 94.52 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002023, allocations: 272.3 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.034e-05/5.066e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5795/0.5796, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9886/1.568, allocations: 380.2 MB / 1.136 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.569, allocations: 89.08 kB / 1.136 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.657/8.225, allocations: 1.645 GB / 2.781 GB, free: 23.22 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/8.225, allocations: 0 / 2.781 GB, free: 23.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0008747/8.226, allocations: 115.8 kB / 2.781 GB, free: 23.11 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.01846/8.245, allocations: 3.855 MB / 2.785 GB, free: 19.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/8.245, allocations: 8.031 kB / 2.785 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/8.255, allocations: 1.623 MB / 2.786 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6308/8.886, allocations: 18.16 MB / 2.804 GB, free: 96.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005911/8.886, allocations: 227.3 kB / 2.804 GB, free: 96.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002439/8.889, allocations: 302.5 kB / 2.804 GB, free: 96.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/8.906, allocations: 4.284 MB / 2.809 GB, free: 95.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/8.906, allocations: 6.156 kB / 2.809 GB, free: 95.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001189/8.907, allocations: 122.9 kB / 2.809 GB, free: 95.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/8.908, allocations: 144.5 kB / 2.809 GB, free: 95.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008703/8.916, allocations: 3.686 MB / 2.812 GB, free: 95.73 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.03431/8.951, allocations: 20.06 MB / 2.832 GB, free: 86.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/8.955, allocations: 2.6 MB / 2.835 GB, free: 86.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/8.957, allocations: 1.283 MB / 2.836 GB, free: 86.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/8.958, allocations: 0.5457 MB / 2.836 GB, free: 85.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/8.958, allocations: 61.81 kB / 2.836 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=184): time 3.907e-06/8.958, allocations: 0 / 2.836 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=184): time 0.006483/8.964, allocations: 2.89 MB / 2.839 GB, free: 85.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/8.964, allocations: 77.19 kB / 2.839 GB, free: 85.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006792/8.971, allocations: 3.009 MB / 2.842 GB, free: 84.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008405/8.972, allocations: 73.36 kB / 2.842 GB, free: 84.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00197/8.974, allocations: 1.745 MB / 2.844 GB, free: 84.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/8.975, allocations: 0.6311 MB / 2.845 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004805/8.976, allocations: 46.91 kB / 2.845 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002964/8.976, allocations: 408.7 kB / 2.845 GB, free: 83.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/8.978, allocations: 1.186 MB / 2.846 GB, free: 83.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/8.981, allocations: 1.874 MB / 2.848 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/8.983, allocations: 1.551 MB / 2.85 GB, free: 83.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/8.983, allocations: 6.375 kB / 2.85 GB, free: 83.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00895/8.992, allocations: 4.1 MB / 2.854 GB, free: 82.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001985/8.994, allocations: 7.264 MB / 2.861 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-05/8.994, allocations: 18.06 kB / 2.861 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006305/9.001, allocations: 1.467 MB / 2.862 GB, free: 75.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/9.003, allocations: 0.4925 MB / 2.863 GB, free: 75.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005426/9.009, allocations: 4.752 MB / 2.867 GB, free: 72.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005469/9.014, allocations: 451.4 kB / 2.868 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007655/9.015, allocations: 124 kB / 2.868 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/9.015, allocations: 2.938 kB / 2.868 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009166/9.024, allocations: 3.835 MB / 2.872 GB, free: 72.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/9.024, allocations: 17 kB / 2.872 GB, free: 72.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005972/9.03, allocations: 1.493 MB / 2.873 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/9.032, allocations: 477.5 kB / 2.873 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/9.037, allocations: 3.558 MB / 2.877 GB, free: 70.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/9.041, allocations: 379.4 kB / 2.877 GB, free: 70.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007285/9.042, allocations: 119 kB / 2.877 GB, free: 70.64 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 (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.00125/9.043, allocations: 247.2 kB / 2.878 GB, free: 70.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/9.045, allocations: 325.4 kB / 2.878 GB, free: 70.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/9.053, allocations: 3.302 MB / 2.881 GB, free: 70.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/9.053, allocations: 19.09 kB / 2.881 GB, free: 70.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/9.053, allocations: 14.44 kB / 2.881 GB, free: 70.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004367/9.057, allocations: 2.689 MB / 2.884 GB, free: 70.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/9.073, allocations: 7.156 MB / 2.891 GB, free: 69.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/9.073, allocations: 6.5 kB / 2.891 GB, free: 69.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/9.074, allocations: 279.8 kB / 2.891 GB, free: 69.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/9.078, allocations: 1.108 MB / 2.892 GB, free: 69.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/9.078, allocations: 52.94 kB / 2.892 GB, free: 69.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006623/9.085, allocations: 10.01 MB / 2.902 GB, free: 61.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/9.085, allocations: 5.312 kB / 2.902 GB, free: 61.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008277/9.093, allocations: 4.813 MB / 2.907 GB, free: 60.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002956/9.096, allocations: 0.8331 MB / 2.908 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/9.098, allocations: 41.05 kB / 2.908 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/9.101, allocations: 229.7 kB / 2.908 GB, free: 60.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/9.101, allocations: 126.9 kB / 2.908 GB, free: 60.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/9.102, allocations: 97.97 kB / 2.908 GB, free: 60.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005023/9.107, allocations: 2.326 MB / 2.91 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/9.107, allocations: 0 / 2.91 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01249/9.119, allocations: 2.273 MB / 2.912 GB, free: 60.23 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 (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.002824/9.122, allocations: 0.7103 MB / 2.913 GB, free: 60.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.015/9.137, allocations: 5.309 MB / 2.918 GB, free: 60.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/9.137, allocations: 1.75 kB / 2.918 GB, free: 60.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003201/9.14, allocations: 1.873 MB / 2.92 GB, free: 59.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009854/9.15, allocations: 1.776 MB / 2.922 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/9.166, allocations: 6.472 MB / 2.928 GB, free: 58.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003842/9.169, allocations: 3.021 MB / 2.931 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.008506/9.178, allocations: 2.192 MB / 2.933 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/9.179, allocations: 197.1 kB / 2.934 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/9.179, allocations: 0 / 2.934 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.1392/9.318, allocations: 90.79 MB / 3.022 GB, free: 28.68 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)