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.8593/0.8593, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001099/0.001099, allocations: 172.9 kB / 182.2 MB, free: 9.453 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.697/1.697, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009008/0.000901, allocations: 88.05 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 287 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.417e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5091, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9893/1.498, allocations: 379.5 MB / 1.128 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/1.499, allocations: 95.19 kB / 1.128 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.885/8.384, allocations: 1.637 GB / 2.765 GB, free: 6.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.404e-06/8.384, allocations: 4 kB / 2.765 GB, free: 6.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0008815/8.385, allocations: 111.9 kB / 2.765 GB, free: 6.516 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.01343/8.398, allocations: 3.85 MB / 2.769 GB, free: 2.605 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/8.398, allocations: 8.031 kB / 2.769 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/8.409, allocations: 1.627 MB / 2.77 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5684/8.978, allocations: 18.1 MB / 2.788 GB, free: 98.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/8.978, allocations: 95.31 kB / 2.788 GB, free: 98.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/8.979, allocations: 178.3 kB / 2.788 GB, free: 98.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008199/8.987, allocations: 3.486 MB / 2.792 GB, free: 98.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006729/8.994, allocations: 3.874 MB / 2.796 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/8.994, allocations: 14.94 kB / 2.796 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003261/8.995, allocations: 6.312 kB / 2.796 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/8.995, allocations: 138.6 kB / 2.796 GB, free: 98.37 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.02978/9.025, allocations: 19.61 MB / 2.815 GB, free: 88.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/9.029, allocations: 2.699 MB / 2.817 GB, free: 88.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/9.031, allocations: 1.307 MB / 2.819 GB, free: 88.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/9.032, allocations: 0.5427 MB / 2.819 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/9.032, allocations: 59.91 kB / 2.819 GB, free: 88.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=184): time 4.849e-06/9.032, allocations: 0 / 2.819 GB, free: 88.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=184): time 0.006609/9.039, allocations: 2.98 MB / 2.822 GB, free: 88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/9.039, allocations: 76.19 kB / 2.822 GB, free: 87.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004856/9.044, allocations: 2.857 MB / 2.825 GB, free: 87.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007847/9.044, allocations: 29.17 kB / 2.825 GB, free: 87.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/9.046, allocations: 1.746 MB / 2.827 GB, free: 87.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/9.047, allocations: 0.6099 MB / 2.827 GB, free: 86.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/9.047, allocations: 0 / 2.827 GB, free: 86.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001929/9.048, allocations: 411.1 kB / 2.828 GB, free: 86.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/9.049, allocations: 1.228 MB / 2.829 GB, free: 86.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/9.051, allocations: 1.895 MB / 2.831 GB, free: 85.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/9.054, allocations: 1.61 MB / 2.832 GB, free: 85.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/9.054, allocations: 6.781 kB / 2.832 GB, free: 85.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007989/9.062, allocations: 4.04 MB / 2.836 GB, free: 85.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00152/9.064, allocations: 7.248 MB / 2.843 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/9.064, allocations: 15.19 kB / 2.843 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0044/9.068, allocations: 1.233 MB / 2.845 GB, free: 77.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/9.071, allocations: 0.4993 MB / 2.845 GB, free: 77.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/9.076, allocations: 4.927 MB / 2.85 GB, free: 75.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/9.082, allocations: 395.3 kB / 2.85 GB, free: 75.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008654/9.083, allocations: 126.7 kB / 2.85 GB, free: 75.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/9.083, allocations: 2.906 kB / 2.85 GB, free: 75.15 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007086/9.09, allocations: 3.476 MB / 2.854 GB, free: 75.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/9.09, allocations: 18.41 kB / 2.854 GB, free: 75.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/9.095, allocations: 1.327 MB / 2.855 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/9.097, allocations: 488.1 kB / 2.856 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004347/9.102, allocations: 3.568 MB / 2.859 GB, free: 73.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/9.106, allocations: 324.5 kB / 2.859 GB, free: 73.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007984/9.107, allocations: 118.5 kB / 2.86 GB, free: 73.41 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.001336/9.108, allocations: 169.6 kB / 2.86 GB, free: 73.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/9.11, allocations: 330.6 kB / 2.86 GB, free: 73.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006114/9.117, allocations: 3.048 MB / 2.863 GB, free: 72.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/9.117, allocations: 25.03 kB / 2.863 GB, free: 72.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/9.117, allocations: 3.953 kB / 2.863 GB, free: 72.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003447/9.12, allocations: 2.479 MB / 2.865 GB, free: 72.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/9.133, allocations: 6.513 MB / 2.872 GB, free: 72.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/9.133, allocations: 2.625 kB / 2.872 GB, free: 72.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/9.135, allocations: 279.6 kB / 2.872 GB, free: 72.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00294/9.137, allocations: 0.9554 MB / 2.873 GB, free: 72.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/9.138, allocations: 22.03 kB / 2.873 GB, free: 72.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/9.144, allocations: 9.739 MB / 2.883 GB, free: 64.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/9.144, allocations: 3.75 kB / 2.883 GB, free: 64.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/9.151, allocations: 4.532 MB / 2.887 GB, free: 63.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002561/9.153, allocations: 0.8216 MB / 2.888 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006792/9.154, allocations: 11.61 kB / 2.888 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/9.156, allocations: 195.6 kB / 2.888 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/9.157, allocations: 119.4 kB / 2.888 GB, free: 63.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/9.157, allocations: 85.53 kB / 2.888 GB, free: 63.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003127/9.16, allocations: 2.177 MB / 2.89 GB, free: 63.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/9.16, allocations: 0 / 2.89 GB, free: 63.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0102/9.17, allocations: 2.152 MB / 2.892 GB, free: 63.32 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.001701/9.172, allocations: 0.6608 MB / 2.893 GB, free: 63.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009112/9.181, allocations: 4.862 MB / 2.898 GB, free: 63.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/9.181, allocations: 3.875 kB / 2.898 GB, free: 63.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/9.184, allocations: 1.782 MB / 2.9 GB, free: 62.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009034/9.193, allocations: 1.723 MB / 2.901 GB, free: 62.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/9.204, allocations: 6.364 MB / 2.907 GB, free: 61.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/9.206, allocations: 3.024 MB / 2.91 GB, free: 60.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007099/9.213, allocations: 2.257 MB / 2.913 GB, free: 60.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006874/9.214, allocations: 190.6 kB / 2.913 GB, free: 60.48 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/9.214, allocations: 0 / 2.913 GB, free: 60.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.1216/9.336, allocations: 81.36 MB / 2.992 GB, free: 44.25 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)