Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.713/2.713, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001586/0.001585, allocations: 186.9 kB / 371 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6297 GB, free: 10.55 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.0009596/0.0009586, allocations: 91.08 kB / 0.743 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007479/0.0007485, allocations: 11.61 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2244, allocations: 115.3 MB / 0.9785 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002695/0.2272, allocations: 1.794 MB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2287, allocations: 495.8 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.229, allocations: 4 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.2292, allocations: 31.66 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.2293, allocations: 31.78 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.2297, allocations: 79.86 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.2301, allocations: 316.3 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.2304, allocations: 116.3 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.2306, allocations: 91.5 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2308, allocations: 95.42 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.2308, allocations: 8 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.939e-05/0.2309, allocations: 11.94 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.2309, allocations: 35.78 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.231, allocations: 73.58 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.2314, allocations: 387.2 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2314, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2314, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2315, allocations: 0 / 0.9819 GB, free: 24.66 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.001259/0.2327, allocations: 0.5768 MB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.2328, allocations: 12.02 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.2329, allocations: 62.48 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.822e-05/0.233, allocations: 35.62 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.2336, allocations: 322 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.2336, allocations: 24.5 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.2337, allocations: 31.84 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/0.2345, allocations: 295.6 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2345, allocations: 0 / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.2346, allocations: 12 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2346, allocations: 8 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.2354, allocations: 214.1 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.2375, allocations: 0.9977 MB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/0.2382, allocations: 283.6 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.2386, allocations: 112.7 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.2386, allocations: 7.984 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2387, allocations: 34.56 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.537e-06/0.2387, allocations: 4 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001127/0.2398, allocations: 277.2 kB / 0.9851 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2399, allocations: 51.41 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.2403, allocations: 286.9 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2403, allocations: 29.7 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2405, allocations: 180.1 kB / 0.9856 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.2405, allocations: 55.2 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.2405, allocations: 0 / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.2406, allocations: 346.8 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.241, allocations: 79.95 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.2414, allocations: 121.1 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.2417, allocations: 92 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2418, allocations: 0 / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008757/0.2426, allocations: 261.9 kB / 0.9865 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/0.2427, allocations: 117.6 kB / 0.9866 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.2428, allocations: 0 / 0.9866 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.2428, allocations: 15.97 kB / 0.9867 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.2432, allocations: 51.91 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2432, allocations: 0 / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.2435, allocations: 31.73 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.2436, allocations: 11.94 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2436, allocations: 5.406 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006901/0.2443, allocations: 199.8 kB / 0.9869 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2443, allocations: 4 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.074e-06/0.2443, allocations: 0 / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.2447, allocations: 56.03 kB / 0.987 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2447, allocations: 4 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.245, allocations: 27.83 kB / 0.987 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.245, allocations: 4 kB / 0.987 GB, free: 19.09 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.0002382/0.2453, allocations: 229 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.2454, allocations: 31.67 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008372/0.2462, allocations: 231.6 kB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2462, allocations: 8 kB / 0.9875 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2462, allocations: 0 / 0.9875 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2463, allocations: 0 / 0.9875 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.2476, allocations: 0.6411 MB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2476, allocations: 4 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.248, allocations: 39.97 kB / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.248, allocations: 0 / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.2481, allocations: 4 kB / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2481, allocations: 4.062 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2481, allocations: 0 / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.2492, allocations: 418.9 kB / 0.9886 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.2493, allocations: 108.8 kB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.2494, allocations: 4 kB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.2497, allocations: 21.53 kB / 0.9887 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.2498, allocations: 7.984 kB / 0.9887 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.2498, allocations: 8.062 kB / 0.9887 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002663/0.2501, allocations: 202 kB / 0.9889 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2501, allocations: 0 / 0.9889 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005371/0.2506, allocations: 87.59 kB / 0.989 GB, free: 16.97 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.001375/0.252, allocations: 0.9527 MB / 0.9899 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.2532, allocations: 306.9 kB / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2533, allocations: 0 / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.2536, allocations: 88.2 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.2543, allocations: 46.17 kB / 0.9904 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.2581, allocations: 1.549 MB / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.2584, allocations: 0.756 MB / 0.9926 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002412/0.2587, allocations: 33.92 kB / 0.9926 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.2589, allocations: 91.41 kB / 0.9927 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2589, allocations: 0 / 0.9927 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.2933, allocations: 4.695 MB / 0.9973 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/0.2936, allocations: 207.9 kB / 0.9975 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/2.878, allocations: 4.062 kB / 0.9975 GB, free: 8.305 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)