Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4791/0.4791, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.3 MB / 348.3 MB, free: 424 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009529, allocations: 97.45 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.382e-05, allocations: 4 kB / 0.4896 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4449, allocations: 72.3 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.835/1.28, allocations: 373.2 MB / 0.9247 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.28, allocations: 98.44 kB / 0.9248 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.952/8.232, allocations: 1.669 GB / 2.594 GB, free: 77.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/8.232, allocations: 0 / 2.594 GB, free: 77.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0007744/8.233, allocations: 118.5 kB / 2.594 GB, free: 77.95 MB / 0.6198 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.01335/8.246, allocations: 3.87 MB / 2.598 GB, free: 76.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/8.246, allocations: 15.67 kB / 2.598 GB, free: 76.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/8.257, allocations: 1.634 MB / 2.599 GB, free: 76.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04161/8.299, allocations: 18.31 MB / 2.617 GB, free: 75.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/8.299, allocations: 231.8 kB / 2.617 GB, free: 75.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/8.3, allocations: 304.2 kB / 2.618 GB, free: 75.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007669/8.308, allocations: 4.292 MB / 2.622 GB, free: 74.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.924e-05/8.308, allocations: 13.8 kB / 2.622 GB, free: 74.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/8.308, allocations: 128.2 kB / 2.622 GB, free: 74.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/8.308, allocations: 148 kB / 2.622 GB, free: 74.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005768/8.314, allocations: 3.679 MB / 2.626 GB, free: 74.68 MB / 0.6198 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.02903/8.343, allocations: 20.07 MB / 2.645 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/8.347, allocations: 2.598 MB / 2.648 GB, free: 64.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/8.349, allocations: 1.286 MB / 2.649 GB, free: 64.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/8.35, allocations: 0.5402 MB / 2.65 GB, free: 64.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/8.35, allocations: 59.97 kB / 2.65 GB, free: 64.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=184): time 4.037e-06/8.35, allocations: 0 / 2.65 GB, free: 64.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=184): time 0.005842/8.356, allocations: 2.904 MB / 2.652 GB, free: 63.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/8.356, allocations: 69.97 kB / 2.653 GB, free: 63.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/8.361, allocations: 3.078 MB / 2.656 GB, free: 63.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006809/8.362, allocations: 70.42 kB / 2.656 GB, free: 63.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/8.363, allocations: 1.759 MB / 2.657 GB, free: 62.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000864/8.364, allocations: 0.6389 MB / 2.658 GB, free: 62.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/8.364, allocations: 44.28 kB / 2.658 GB, free: 62.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001612/8.364, allocations: 416.1 kB / 2.658 GB, free: 62.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/8.366, allocations: 1.189 MB / 2.66 GB, free: 62.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/8.368, allocations: 1.867 MB / 2.661 GB, free: 61.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/8.37, allocations: 1.55 MB / 2.663 GB, free: 61.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/8.37, allocations: 12.98 kB / 2.663 GB, free: 61.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008358/8.378, allocations: 4.106 MB / 2.667 GB, free: 61.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001988/8.38, allocations: 7.291 MB / 2.674 GB, free: 53.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/8.381, allocations: 16.16 kB / 2.674 GB, free: 53.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005992/8.387, allocations: 1.46 MB / 2.675 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/8.389, allocations: 498.2 kB / 2.676 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/8.394, allocations: 4.767 MB / 2.681 GB, free: 50.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/8.398, allocations: 444 kB / 2.681 GB, free: 50.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/8.399, allocations: 122.2 kB / 2.681 GB, free: 50.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/8.399, allocations: 3.594 kB / 2.681 GB, free: 50.72 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006704/8.406, allocations: 3.84 MB / 2.685 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/8.406, allocations: 16.94 kB / 2.685 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0055/8.411, allocations: 1.482 MB / 2.686 GB, free: 50.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/8.413, allocations: 479.2 kB / 2.687 GB, free: 50.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/8.417, allocations: 3.566 MB / 2.69 GB, free: 49.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004554/8.422, allocations: 383.8 kB / 2.691 GB, free: 48.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005198/8.422, allocations: 117.4 kB / 2.691 GB, free: 48.91 MB / 0.6198 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.0009801/8.423, allocations: 252.3 kB / 2.691 GB, free: 48.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/8.425, allocations: 339.1 kB / 2.691 GB, free: 48.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/8.431, allocations: 3.297 MB / 2.695 GB, free: 48.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/8.431, allocations: 19.12 kB / 2.695 GB, free: 48.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/8.431, allocations: 3.875 kB / 2.695 GB, free: 48.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003636/8.434, allocations: 2.69 MB / 2.697 GB, free: 48.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/8.449, allocations: 7.176 MB / 2.704 GB, free: 47.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/8.449, allocations: 3.344 kB / 2.704 GB, free: 47.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/8.45, allocations: 274.9 kB / 2.705 GB, free: 47.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003582/8.454, allocations: 1.105 MB / 2.706 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/8.454, allocations: 49.14 kB / 2.706 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007729/8.462, allocations: 10.04 MB / 2.715 GB, free: 39.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/8.462, allocations: 3.688 kB / 2.715 GB, free: 39.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009791/8.472, allocations: 4.811 MB / 2.72 GB, free: 39.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003468/8.475, allocations: 0.8389 MB / 2.721 GB, free: 38.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001387/8.477, allocations: 40.88 kB / 2.721 GB, free: 38.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/8.48, allocations: 230.7 kB / 2.721 GB, free: 38.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/8.481, allocations: 128.7 kB / 2.721 GB, free: 38.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/8.481, allocations: 94.5 kB / 2.721 GB, free: 38.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003875/8.485, allocations: 2.376 MB / 2.724 GB, free: 38.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/8.485, allocations: 2.438 kB / 2.724 GB, free: 38.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01034/8.495, allocations: 2.276 MB / 2.726 GB, free: 38.22 MB / 0.6198 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.001776/8.497, allocations: 0.6851 MB / 2.727 GB, free: 38.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01242/8.509, allocations: 5.33 MB / 2.732 GB, free: 37.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.261e-05/8.51, allocations: 3.031 kB / 2.732 GB, free: 37.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/8.513, allocations: 1.866 MB / 2.734 GB, free: 36.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01182/8.525, allocations: 1.778 MB / 2.735 GB, free: 36.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/8.541, allocations: 6.546 MB / 2.742 GB, free: 33.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004092/8.545, allocations: 3.059 MB / 2.745 GB, free: 32.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00904/8.554, allocations: 2.219 MB / 2.747 GB, free: 32.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009731/8.555, allocations: 198.1 kB / 2.747 GB, free: 32.32 MB / 0.6198 GB Notification: Performance of SimCode: time 1.723e-06/8.555, allocations: 0 / 2.747 GB, free: 32.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.6002/9.155, allocations: 91.07 MB / 2.836 GB, free: 82.43 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)