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.001529/0.001529, allocations: 102.8 kB / 16.27 MB, free: 6.004 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.001689/0.00169, allocations: 189.9 kB / 17.2 MB, free: 5.617 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.384/1.384, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.77/1.77, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001471/0.001472, allocations: 63.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2346, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003572/0.2382, allocations: 2.209 MB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.2392, allocations: 0.5191 MB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2394, allocations: 4 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.2396, allocations: 43.53 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2397, allocations: 55.52 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.2401, allocations: 131.8 kB / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.2404, allocations: 368.2 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.2407, allocations: 169.1 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2409, allocations: 139.4 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.241, allocations: 139.3 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.2411, allocations: 44 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.2411, allocations: 40 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.4196/0.6607, allocations: 81.91 kB / 0.7879 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.661, allocations: 161.7 kB / 0.788 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.6614, allocations: 474.2 kB / 0.7885 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6615, allocations: 0 / 0.7885 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6615, allocations: 0 / 0.7885 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.6615, allocations: 0 / 0.7885 GB, free: 46.48 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.0009296/0.6624, allocations: 0.6273 MB / 0.7891 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6625, allocations: 13 kB / 0.7891 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.6625, allocations: 32.97 kB / 0.7891 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.6629, allocations: 328.2 kB / 0.7894 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.6629, allocations: 19.97 kB / 0.7895 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.663, allocations: 25.27 kB / 0.7895 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.6635, allocations: 279.1 kB / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.6635, allocations: 3.938 kB / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.6635, allocations: 11.47 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.6635, allocations: 8.156 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.664, allocations: 215 kB / 0.79 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.6653, allocations: 0.9899 MB / 0.7909 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.6657, allocations: 278.7 kB / 0.7912 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.6659, allocations: 99.02 kB / 0.7913 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.666, allocations: 5.781 kB / 0.7913 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.666, allocations: 31.72 kB / 0.7913 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.666, allocations: 0.5312 kB / 0.7913 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006602/0.6667, allocations: 263.9 kB / 0.7916 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.6667, allocations: 55.44 kB / 0.7916 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.667, allocations: 283.6 kB / 0.7919 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.667, allocations: 28.08 kB / 0.7919 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.6671, allocations: 186.7 kB / 0.7921 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.6671, allocations: 51.16 kB / 0.7922 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.6672, allocations: 42.06 kB / 0.7922 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.6673, allocations: 336.4 kB / 0.7925 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.6675, allocations: 79.27 kB / 0.7926 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.6677, allocations: 121.2 kB / 0.7927 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.668, allocations: 199.2 kB / 0.7929 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.668, allocations: 1 kB / 0.7929 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004792/0.6685, allocations: 251.2 kB / 0.7931 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6686, allocations: 5.781 kB / 0.7932 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.984e-06/0.6686, allocations: 2.344 kB / 0.7932 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.6686, allocations: 5.531 kB / 0.7932 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.6688, allocations: 40.62 kB / 0.7932 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6688, allocations: 4.031 kB / 0.7932 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.669, allocations: 28.84 kB / 0.7932 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.669, allocations: 10.12 kB / 0.7932 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002182/0.6692, allocations: 179.6 kB / 0.7934 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001607/0.6694, allocations: 109 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003014/0.6697, allocations: 184.6 kB / 0.7937 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.6697, allocations: 1.656 kB / 0.7937 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003964/0.6701, allocations: 243.8 kB / 0.7939 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.6702, allocations: 8.125 kB / 0.7939 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.6702, allocations: 0 / 0.7939 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/0.6702, allocations: 3.5 kB / 0.7939 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.6703, allocations: 42.59 kB / 0.794 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.6704, allocations: 7.344 kB / 0.794 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.6705, allocations: 21.2 kB / 0.794 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.6705, allocations: 11 kB / 0.794 GB, free: 44.02 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 8.091e-05/0.6706, allocations: 192.2 kB / 0.7942 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.6706, allocations: 25.45 kB / 0.7942 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.6711, allocations: 229.3 kB / 0.7944 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6711, allocations: 3.5 kB / 0.7944 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6711, allocations: 1.875 kB / 0.7944 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6711, allocations: 0 / 0.7944 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007699/0.6719, allocations: 0.6333 MB / 0.7951 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6719, allocations: 0.9375 kB / 0.7951 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.6721, allocations: 36.77 kB / 0.7951 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6721, allocations: 3.375 kB / 0.7951 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.6721, allocations: 6.938 kB / 0.7951 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6721, allocations: 0 / 0.7951 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6722, allocations: 0 / 0.7951 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.6728, allocations: 397.9 kB / 0.7955 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.6729, allocations: 99.05 kB / 0.7956 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.6729, allocations: 0 / 0.7956 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.6731, allocations: 20.77 kB / 0.7956 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.6731, allocations: 16.48 kB / 0.7956 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.6732, allocations: 7.438 kB / 0.7956 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000171/0.6733, allocations: 203.8 kB / 0.7958 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6733, allocations: 0 / 0.7958 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003768/0.6737, allocations: 93.38 kB / 0.7959 GB, free: 43.1 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 0.000115/0.6738, allocations: 103.5 kB / 0.796 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000678/0.6745, allocations: 288 kB / 0.7963 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6745, allocations: 0 / 0.7963 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.6747, allocations: 86.44 kB / 0.7964 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.6752, allocations: 45.77 kB / 0.7964 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.676, allocations: 0.4939 MB / 0.7969 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.6762, allocations: 0.7614 MB / 0.7976 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.6763, allocations: 28.09 kB / 0.7977 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.6763, allocations: 0 / 0.7977 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.005848/0.6821, allocations: 3.215 MB / 0.8008 GB, free: 41.86 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)