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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8291/0.8291, allocations: 143.3 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.001129/0.001129, allocations: 181.1 kB / 191.5 MB, free: 5.777 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.742/1.742, allocations: 223.2 MB / 447.7 MB, free: 4.879 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.0008892/0.0008888, allocations: 96.27 kB / 0.5187 GB, free: 1.234 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 269 kB / 0.6005 GB, free: 48.8 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 20.38 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1689, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7889/0.9578, allocations: 380.2 MB / 1.145 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.9581, allocations: 101.2 kB / 1.145 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.052/7.01, allocations: 1.649 GB / 2.794 GB, free: 39.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.625e-06/7.01, allocations: 0 / 2.794 GB, free: 39.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000873/7.011, allocations: 119.8 kB / 2.795 GB, free: 39.59 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.01764/7.028, allocations: 4.695 MB / 2.799 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/7.029, allocations: 12.03 kB / 2.799 GB, free: 34.81 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002391/7.031, allocations: 422.1 kB / 2.8 GB, free: 34.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/7.041, allocations: 1.634 MB / 2.801 GB, free: 32.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0414/7.083, allocations: 18.25 MB / 2.819 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/7.083, allocations: 229.7 kB / 2.819 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/7.085, allocations: 300 kB / 2.819 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/7.097, allocations: 4.345 MB / 2.824 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/7.097, allocations: 7.938 kB / 2.824 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/7.099, allocations: 124 kB / 2.824 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/7.099, allocations: 137.5 kB / 2.824 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008696/7.108, allocations: 3.768 MB / 2.828 GB, free: 5.332 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.5298/7.637, allocations: 20.05 MB / 2.847 GB, free: 77.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/7.642, allocations: 2.637 MB / 2.85 GB, free: 77.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/7.643, allocations: 0.5382 MB / 2.85 GB, free: 77.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/7.643, allocations: 58.75 kB / 2.85 GB, free: 77.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=184): time 4.168e-06/7.643, allocations: 1.969 kB / 2.85 GB, free: 77.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=184): time 0.02082/7.663, allocations: 6.193 MB / 2.856 GB, free: 76.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/7.664, allocations: 70.84 kB / 2.857 GB, free: 76.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006149/7.67, allocations: 3.044 MB / 2.859 GB, free: 76.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007536/7.67, allocations: 74.05 kB / 2.86 GB, free: 76.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001541/7.672, allocations: 1.735 MB / 2.861 GB, free: 75.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009584/7.673, allocations: 0.634 MB / 2.862 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/7.673, allocations: 49.31 kB / 2.862 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001535/7.673, allocations: 408.4 kB / 2.862 GB, free: 74.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/7.676, allocations: 1.243 MB / 2.864 GB, free: 74.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/7.678, allocations: 1.927 MB / 2.865 GB, free: 74.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/7.68, allocations: 1.588 MB / 2.867 GB, free: 74.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/7.68, allocations: 7.844 kB / 2.867 GB, free: 74.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008084/7.688, allocations: 4.239 MB / 2.871 GB, free: 73.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001455/7.689, allocations: 7.256 MB / 2.878 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/7.689, allocations: 14.97 kB / 2.878 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/7.696, allocations: 1.506 MB / 2.88 GB, free: 66.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/7.698, allocations: 0.491 MB / 2.88 GB, free: 66.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/7.704, allocations: 4.845 MB / 2.885 GB, free: 63.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005004/7.709, allocations: 446.9 kB / 2.885 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007146/7.709, allocations: 128.2 kB / 2.885 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/7.709, allocations: 6.047 kB / 2.885 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009124/7.719, allocations: 3.955 MB / 2.889 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.073e-05/7.719, allocations: 18.5 kB / 2.889 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006172/7.725, allocations: 1.537 MB / 2.891 GB, free: 63.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/7.727, allocations: 473.5 kB / 2.891 GB, free: 63.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/7.732, allocations: 3.651 MB / 2.895 GB, free: 61.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/7.736, allocations: 384 kB / 2.895 GB, free: 61.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006192/7.737, allocations: 113 kB / 2.895 GB, free: 61.75 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.003938/7.741, allocations: 1.488 MB / 2.897 GB, free: 61.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/7.742, allocations: 331.3 kB / 2.897 GB, free: 61.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006928/7.749, allocations: 3.338 MB / 2.9 GB, free: 61.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/7.749, allocations: 25.47 kB / 2.9 GB, free: 61.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/7.749, allocations: 3.812 kB / 2.9 GB, free: 61.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003918/7.753, allocations: 2.713 MB / 2.903 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/7.77, allocations: 7.157 MB / 2.91 GB, free: 60.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/7.77, allocations: 0 / 2.91 GB, free: 60.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/7.771, allocations: 276.6 kB / 2.91 GB, free: 60.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/7.775, allocations: 1.1 MB / 2.911 GB, free: 60.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/7.775, allocations: 47.25 kB / 2.911 GB, free: 60.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009466/7.785, allocations: 10.1 MB / 2.921 GB, free: 68.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/7.785, allocations: 0 / 2.921 GB, free: 68.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008617/7.793, allocations: 4.816 MB / 2.926 GB, free: 67.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003263/7.797, allocations: 0.8335 MB / 2.927 GB, free: 67.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/7.798, allocations: 39.22 kB / 2.927 GB, free: 67.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003582/7.801, allocations: 237.9 kB / 2.927 GB, free: 67.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/7.802, allocations: 127.5 kB / 2.927 GB, free: 67.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003743/7.802, allocations: 88.47 kB / 2.927 GB, free: 67.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005111/7.807, allocations: 2.363 MB / 2.93 GB, free: 67.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.4e-07/7.807, allocations: 3.5 kB / 2.93 GB, free: 67.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01218/7.82, allocations: 2.273 MB / 2.932 GB, free: 67.28 MB / 0.7292 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.01139/7.831, allocations: 6.139 MB / 2.938 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01347/7.844, allocations: 5.351 MB / 2.943 GB, free: 65.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/7.845, allocations: 3.344 kB / 2.943 GB, free: 65.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003296/7.848, allocations: 1.898 MB / 2.945 GB, free: 65.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009357/7.857, allocations: 1.771 MB / 2.947 GB, free: 65.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03208/7.889, allocations: 22.87 MB / 2.969 GB, free: 49.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005256/7.895, allocations: 3.015 MB / 2.972 GB, free: 48.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006735/7.901, allocations: 1.355 MB / 2.973 GB, free: 48.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003682/7.905, allocations: 1.503 MB / 2.975 GB, free: 48.58 MB / 0.7292 GB Notification: Performance of SimCode: time 1.392e-06/7.905, allocations: 0 / 2.975 GB, free: 48.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1919/8.097, allocations: 117.5 MB / 3.089 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/8.097, allocations: 271.7 kB / 3.09 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.721/13.82, allocations: 7.062 kB / 3.09 GB, free: 0.668 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)