Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 106.9 kB / 16.36 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 198 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 71.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2045, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003427/0.208, allocations: 2.198 MB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2091, allocations: 0.5191 MB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.2093, allocations: 11.94 kB / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.2095, allocations: 43.53 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.2097, allocations: 51.47 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.21, allocations: 143.7 kB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3194/0.5293, allocations: 364 kB / 0.788 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.5297, allocations: 169.3 kB / 0.7882 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.53, allocations: 137.7 kB / 0.7883 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.5302, allocations: 144.4 kB / 0.7885 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.37e-05/0.5303, allocations: 41.31 kB / 0.7885 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.5303, allocations: 44.03 kB / 0.7885 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.5304, allocations: 79.2 kB / 0.7886 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.5305, allocations: 163.3 kB / 0.7888 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.5309, allocations: 496.6 kB / 0.7892 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.531, allocations: 0 / 0.7892 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.531, allocations: 0 / 0.7892 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.531, allocations: 0 / 0.7892 GB, free: 47.01 MB / 0.6544 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.0008379/0.5318, allocations: 0.6227 MB / 0.7899 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5319, allocations: 8.25 kB / 0.7899 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.5319, allocations: 33.59 kB / 0.7899 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.5323, allocations: 329.8 kB / 0.7902 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.5323, allocations: 21.94 kB / 0.7902 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.5324, allocations: 25.75 kB / 0.7903 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.5329, allocations: 283.9 kB / 0.7905 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5329, allocations: 4.688 kB / 0.7905 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.5329, allocations: 9.031 kB / 0.7905 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5329, allocations: 9.344 kB / 0.7905 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.5334, allocations: 206.2 kB / 0.7907 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.5345, allocations: 0.983 MB / 0.7917 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.5349, allocations: 273.4 kB / 0.792 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.5351, allocations: 102.9 kB / 0.7921 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.5352, allocations: 5.312 kB / 0.7921 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.5352, allocations: 33.69 kB / 0.7921 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.5352, allocations: 2.625 kB / 0.7921 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006303/0.5358, allocations: 263.1 kB / 0.7924 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.5359, allocations: 51.41 kB / 0.7924 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.5361, allocations: 280 kB / 0.7927 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.5361, allocations: 32.42 kB / 0.7927 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.5362, allocations: 181.5 kB / 0.7929 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.5362, allocations: 56.22 kB / 0.7929 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.5363, allocations: 42.23 kB / 0.793 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.5364, allocations: 336.8 kB / 0.7933 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5366, allocations: 86.84 kB / 0.7934 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.5368, allocations: 119.9 kB / 0.7935 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.5372, allocations: 192.8 kB / 0.7937 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5372, allocations: 1.625 kB / 0.7937 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000455/0.5376, allocations: 256.1 kB / 0.7939 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5376, allocations: 5.25 kB / 0.7939 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5377, allocations: 2.625 kB / 0.7939 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5377, allocations: 5.188 kB / 0.7939 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.5379, allocations: 41.56 kB / 0.794 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5379, allocations: 4.031 kB / 0.794 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.5381, allocations: 24.56 kB / 0.794 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.5381, allocations: 6.594 kB / 0.794 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002046/0.5383, allocations: 183.8 kB / 0.7942 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001513/0.5385, allocations: 112.3 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002878/0.5387, allocations: 181.8 kB / 0.7945 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.5388, allocations: 1.219 kB / 0.7945 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003869/0.5391, allocations: 246 kB / 0.7947 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.5392, allocations: 9.406 kB / 0.7947 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.5392, allocations: 0 / 0.7947 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.5392, allocations: 3.25 kB / 0.7947 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.5394, allocations: 41.44 kB / 0.7947 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5394, allocations: 4.5 kB / 0.7947 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.5395, allocations: 22.55 kB / 0.7948 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.5395, allocations: 9 kB / 0.7948 GB, free: 44.55 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.5396, allocations: 192 kB / 0.795 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.5396, allocations: 25.03 kB / 0.795 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.5401, allocations: 226.7 kB / 0.7952 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.5401, allocations: 3.438 kB / 0.7952 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5401, allocations: 1.875 kB / 0.7952 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5401, allocations: 0 / 0.7952 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007425/0.5409, allocations: 0.6279 MB / 0.7958 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5409, allocations: 0 / 0.7958 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.5411, allocations: 41.28 kB / 0.7959 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5411, allocations: 0 / 0.7959 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.5411, allocations: 10.42 kB / 0.7959 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5411, allocations: 0 / 0.7959 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5411, allocations: 5.875 kB / 0.7959 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.5417, allocations: 397.9 kB / 0.7963 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.5418, allocations: 100.3 kB / 0.7964 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.5418, allocations: 4.75 kB / 0.7964 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.542, allocations: 17.38 kB / 0.7964 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.5421, allocations: 10.72 kB / 0.7964 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.5421, allocations: 7.594 kB / 0.7964 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001449/0.5422, allocations: 205 kB / 0.7966 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5422, allocations: 0 / 0.7966 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003769/0.5426, allocations: 96.16 kB / 0.7967 GB, free: 43.61 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.885e-05/0.5427, allocations: 100.4 kB / 0.7968 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006013/0.5433, allocations: 283.7 kB / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5433, allocations: 0.6562 kB / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.5435, allocations: 85.12 kB / 0.7971 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.5439, allocations: 37.88 kB / 0.7972 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.5446, allocations: 484.7 kB / 0.7976 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.5448, allocations: 0.7622 MB / 0.7984 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000112/0.5449, allocations: 25.05 kB / 0.7984 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.545, allocations: 20.66 kB / 0.7984 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.545, allocations: 4 kB / 0.7984 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.005225/0.5502, allocations: 2.307 MB / 0.8007 GB, free: 42.31 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)