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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7694/0.7694, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 174.9 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 426.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008015/0.0008015, allocations: 94.3 kB / 0.4945 GB, free: 8.297 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001643/0.001643, allocations: 264.8 kB / 0.5728 GB, free: 66.19 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 20 kB / 0.662 GB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3675, allocations: 79.31 MB / 0.7395 GB, free: 46.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7196/1.087, allocations: 378.2 MB / 1.109 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.088, allocations: 98.91 kB / 1.109 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.729/6.816, allocations: 1.611 GB / 2.72 GB, free: 94.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/6.816, allocations: 1.562 kB / 2.72 GB, free: 94.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005295/6.817, allocations: 108.3 kB / 2.72 GB, free: 94.15 MB / 0.6823 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.0131/6.83, allocations: 4.64 MB / 2.724 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/6.83, allocations: 10.88 kB / 2.724 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008681/6.839, allocations: 1.63 MB / 2.726 GB, free: 92.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03208/6.871, allocations: 16.42 MB / 2.742 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/6.871, allocations: 228.4 kB / 2.742 GB, free: 91.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007352/6.872, allocations: 306.4 kB / 2.742 GB, free: 91.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006875/6.879, allocations: 4.337 MB / 2.747 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-05/6.879, allocations: 11.34 kB / 2.747 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/6.879, allocations: 129.2 kB / 2.747 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/6.879, allocations: 141 kB / 2.747 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/6.885, allocations: 3.705 MB / 2.75 GB, free: 90.46 MB / 0.6823 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.02353/6.908, allocations: 19.74 MB / 2.77 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/6.912, allocations: 2.523 MB / 2.772 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/6.913, allocations: 1.338 MB / 2.773 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/6.914, allocations: 0.5461 MB / 2.774 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/6.914, allocations: 59.94 kB / 2.774 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=184): time 5.54e-06/6.914, allocations: 0 / 2.774 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=184): time 0.02452/6.938, allocations: 7.643 MB / 2.782 GB, free: 78.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/6.938, allocations: 74.38 kB / 2.782 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/6.942, allocations: 3.052 MB / 2.785 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003927/6.943, allocations: 72.61 kB / 2.785 GB, free: 78.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/6.944, allocations: 1.733 MB / 2.786 GB, free: 77.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005671/6.945, allocations: 0.6342 MB / 2.787 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/6.945, allocations: 48.75 kB / 2.787 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001295/6.945, allocations: 410.5 kB / 2.787 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/6.947, allocations: 1.221 MB / 2.789 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/6.949, allocations: 1.925 MB / 2.79 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/6.952, allocations: 3.107 MB / 2.793 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/6.952, allocations: 7.625 kB / 2.793 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00767/6.96, allocations: 4.229 MB / 2.798 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003043/6.96, allocations: 0.5937 MB / 2.798 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/6.96, allocations: 14.59 kB / 2.798 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00626/6.967, allocations: 1.591 MB / 2.8 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/6.968, allocations: 471.2 kB / 2.8 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/6.973, allocations: 4.835 MB / 2.805 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/6.977, allocations: 420.2 kB / 2.805 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/6.977, allocations: 124.5 kB / 2.805 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/6.977, allocations: 5.75 kB / 2.805 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00706/6.984, allocations: 3.907 MB / 2.809 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.276e-05/6.985, allocations: 20.53 kB / 2.809 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005383/6.99, allocations: 1.529 MB / 2.811 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/6.992, allocations: 435.9 kB / 2.811 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/6.996, allocations: 3.64 MB / 2.815 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/6.999, allocations: 359.7 kB / 2.815 GB, free: 69.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/7, allocations: 111.2 kB / 2.815 GB, free: 69.86 MB / 0.6823 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 {3 8,5 50,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.003642/7.004, allocations: 1.485 MB / 2.817 GB, free: 69.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/7.005, allocations: 332.7 kB / 2.817 GB, free: 69.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006498/7.012, allocations: 3.698 MB / 2.821 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/7.012, allocations: 17.62 kB / 2.821 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/7.012, allocations: 5.812 kB / 2.821 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003732/7.015, allocations: 3.089 MB / 2.824 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/7.029, allocations: 7.373 MB / 2.831 GB, free: 66.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/7.029, allocations: 0 / 2.831 GB, free: 66.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/7.03, allocations: 261.3 kB / 2.831 GB, free: 66.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003127/7.033, allocations: 1.055 MB / 2.832 GB, free: 66.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/7.033, allocations: 47.75 kB / 2.832 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006056/7.039, allocations: 9.9 MB / 2.842 GB, free: 57.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/7.039, allocations: 3.281 kB / 2.842 GB, free: 57.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007217/7.046, allocations: 5.096 MB / 2.847 GB, free: 55.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002552/7.049, allocations: 0.7761 MB / 2.848 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/7.05, allocations: 42.08 kB / 2.848 GB, free: 54.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/7.053, allocations: 220.4 kB / 2.848 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/7.053, allocations: 121.4 kB / 2.848 GB, free: 54.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/7.054, allocations: 91.38 kB / 2.848 GB, free: 54.53 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004311/7.058, allocations: 2.088 MB / 2.85 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/7.058, allocations: 1.406 kB / 2.85 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0111/7.069, allocations: 2.205 MB / 2.852 GB, free: 53.36 MB / 0.6823 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.002151/7.071, allocations: 0.6813 MB / 2.853 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01416/7.085, allocations: 5.365 MB / 2.858 GB, free: 51.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/7.085, allocations: 0 / 2.858 GB, free: 51.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003105/7.089, allocations: 1.889 MB / 2.86 GB, free: 50.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01046/7.099, allocations: 1.789 MB / 2.862 GB, free: 50.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/7.115, allocations: 9.163 MB / 2.871 GB, free: 44.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003533/7.119, allocations: 2.954 MB / 2.874 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005449/7.124, allocations: 1.333 MB / 2.875 GB, free: 40.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009571/7.125, allocations: 249.8 kB / 2.875 GB, free: 40.69 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/7.125, allocations: 0 / 2.875 GB, free: 40.69 MB / 0.6823 GB Notification: Performance of Templates: time 0.5531/7.678, allocations: 82.95 MB / 2.956 GB, free: 103.4 MB / 0.698 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)