Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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) 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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.739/1.739, allocations: 288.4 MB / 303.3 MB, free: 8.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 178.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009811/0.0009807, allocations: 82.36 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004553, allocations: 10.88 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2585, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002115/0.2607, allocations: 1.798 MB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2617, allocations: 491.9 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.262, allocations: 4 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.2622, allocations: 31.66 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.2624, allocations: 31.72 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.2627, allocations: 83.91 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.2632, allocations: 316.3 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.2634, allocations: 127.8 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.2636, allocations: 79.53 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2637, allocations: 103.3 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.2638, allocations: 8 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.2638, allocations: 12 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.2639, allocations: 39.77 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.2639, allocations: 69.58 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.2642, allocations: 383.2 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2642, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2642, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.2643, allocations: 0 / 0.9831 GB, free: 23.98 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009655/0.2652, allocations: 0.5767 MB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.2653, allocations: 11.97 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.158e-05/0.2654, allocations: 66.53 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.2655, allocations: 31.62 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.2659, allocations: 326 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.266, allocations: 16.56 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.266, allocations: 31.89 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.2666, allocations: 295.6 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2666, allocations: 0 / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.2666, allocations: 15.94 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2666, allocations: 4 kB / 0.9844 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.2672, allocations: 222.1 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.2685, allocations: 0.986 MB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.2689, allocations: 283.9 kB / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.2692, allocations: 117.7 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.2692, allocations: 0 / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2692, allocations: 38.55 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.2692, allocations: 0 / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006896/0.2699, allocations: 277.2 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.27, allocations: 59.41 kB / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.2702, allocations: 282.9 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.2703, allocations: 29.7 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.2703, allocations: 180 kB / 0.9868 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.2704, allocations: 59.19 kB / 0.9869 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.2704, allocations: 4 kB / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.2705, allocations: 338.8 kB / 0.9872 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2707, allocations: 79.95 kB / 0.9873 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2709, allocations: 125.1 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.2711, allocations: 96.8 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2712, allocations: 0 / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005209/0.2717, allocations: 255.3 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/0.2718, allocations: 120.6 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2718, allocations: 0 / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2718, allocations: 7.938 kB / 0.9879 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.2721, allocations: 55.91 kB / 0.9879 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2721, allocations: 7.953 kB / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.2722, allocations: 27.73 kB / 0.9879 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2723, allocations: 11.98 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.2723, allocations: 4 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003856/0.2727, allocations: 205.5 kB / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2727, allocations: 0 / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/0.2727, allocations: 4 kB / 0.9882 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2729, allocations: 51.91 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2729, allocations: 4.125 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.273, allocations: 23.83 kB / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2731, allocations: 12 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.2732, allocations: 225 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.2733, allocations: 27.67 kB / 0.9885 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.2738, allocations: 236.9 kB / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2738, allocations: 0 / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2738, allocations: 0 / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2738, allocations: 7.938 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008236/0.2747, allocations: 0.6399 MB / 0.9893 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2747, allocations: 4 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.2749, allocations: 39.97 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2749, allocations: 0 / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2749, allocations: 4 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2749, allocations: 0 / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.275, allocations: 7.938 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.2756, allocations: 412.8 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.2757, allocations: 108.8 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.2757, allocations: 11.98 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.2759, allocations: 15.98 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.276, allocations: 11.98 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.276, allocations: 4 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001808/0.2762, allocations: 202 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2762, allocations: 4.062 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003778/0.2766, allocations: 87.59 kB / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008406/0.2774, allocations: 0.9435 MB / 0.9911 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006559/0.2781, allocations: 307.9 kB / 0.9914 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2781, allocations: 4 kB / 0.9914 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.2783, allocations: 88.52 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.2787, allocations: 44.77 kB / 0.9916 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.2811, allocations: 1.539 MB / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.2813, allocations: 0.7599 MB / 0.9938 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.2815, allocations: 33.91 kB / 0.9938 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2816, allocations: 91.41 kB / 0.9939 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2816, allocations: 4 kB / 0.9939 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.2966, allocations: 4.692 MB / 0.9985 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.2969, allocations: 211.9 kB / 0.9987 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.336, allocations: 0 / 0.9987 GB, free: 7.648 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)