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.001218/0.001219, allocations: 105.9 kB / 15.98 MB, free: 6.355 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.001167/0.001167, allocations: 196.9 kB / 16.91 MB, free: 6.199 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.369/1.369, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.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.674/1.674, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001568/0.001568, allocations: 70.94 kB / 0.6717 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2358, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003811/0.2396, allocations: 2.237 MB / 0.7857 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2408, allocations: 0.5113 MB / 0.7862 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.2411, allocations: 4 kB / 0.7862 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2414, allocations: 35.66 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2416, allocations: 31.73 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.242, allocations: 119.9 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.2425, allocations: 368.2 kB / 0.7867 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.2428, allocations: 177.1 kB / 0.7869 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.243, allocations: 139.4 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.2433, allocations: 135.3 kB / 0.7872 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.2433, allocations: 44 kB / 0.7872 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2435, allocations: 44 kB / 0.7873 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.247e-05/0.2435, allocations: 83.7 kB / 0.7873 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.2437, allocations: 155.2 kB / 0.7875 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.2441, allocations: 407.3 kB / 0.7879 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2442, allocations: 0 / 0.7879 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2442, allocations: 0 / 0.7879 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.2442, allocations: 0 / 0.7879 GB, free: 9.418 MB / 0.6075 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.001146/0.2453, allocations: 0.6119 MB / 0.7885 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2454, allocations: 12.03 kB / 0.7885 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.2455, allocations: 32.56 kB / 0.7885 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.2461, allocations: 331.3 kB / 0.7888 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2461, allocations: 20.94 kB / 0.7889 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.2462, allocations: 24.28 kB / 0.7889 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.2467, allocations: 288.2 kB / 0.7892 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2468, allocations: 3.938 kB / 0.7892 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.2468, allocations: 8 kB / 0.7892 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.2468, allocations: 8 kB / 0.7892 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.2473, allocations: 214 kB / 0.7894 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.249, allocations: 0.9781 MB / 0.7903 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.2495, allocations: 279.9 kB / 0.7906 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.2497, allocations: 108 kB / 0.7907 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2498, allocations: 0 / 0.7907 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.2498, allocations: 46.61 kB / 0.7907 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.2498, allocations: 0 / 0.7907 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006915/0.2505, allocations: 249.3 kB / 0.791 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2506, allocations: 55.41 kB / 0.791 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2509, allocations: 286.8 kB / 0.7913 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/0.2509, allocations: 33.7 kB / 0.7913 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.2511, allocations: 184 kB / 0.7915 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.2511, allocations: 51.2 kB / 0.7916 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.2512, allocations: 41.7 kB / 0.7916 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2514, allocations: 346.7 kB / 0.7919 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.2517, allocations: 80.81 kB / 0.792 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2519, allocations: 119.9 kB / 0.7921 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.2523, allocations: 190.9 kB / 0.7923 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2524, allocations: 4.031 kB / 0.7923 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005559/0.2529, allocations: 245.2 kB / 0.7925 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2529, allocations: 8 kB / 0.7926 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.253, allocations: 3.984 kB / 0.7926 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.253, allocations: 0 / 0.7926 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.2532, allocations: 52.08 kB / 0.7926 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2532, allocations: 3.938 kB / 0.7926 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.2534, allocations: 31.73 kB / 0.7926 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2534, allocations: 4 kB / 0.7926 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002576/0.2537, allocations: 188 kB / 0.7928 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001901/0.2539, allocations: 109.1 kB / 0.7929 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00034/0.2543, allocations: 186.7 kB / 0.7931 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.2543, allocations: 4.031 kB / 0.7931 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005065/0.2548, allocations: 241.1 kB / 0.7933 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.2548, allocations: 4 kB / 0.7933 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.2548, allocations: 0 / 0.7933 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.2548, allocations: 4 kB / 0.7933 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.255, allocations: 39.97 kB / 0.7934 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.255, allocations: 12.06 kB / 0.7934 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.2552, allocations: 19.89 kB / 0.7934 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2552, allocations: 4 kB / 0.7934 GB, free: 3.41 MB / 0.6075 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 0.0001994/0.2554, allocations: 196.1 kB / 0.7936 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.2554, allocations: 23.72 kB / 0.7936 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.256, allocations: 226.8 kB / 0.7938 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.256, allocations: 4 kB / 0.7938 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.256, allocations: 0 / 0.7938 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.256, allocations: 0 / 0.7938 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009516/0.257, allocations: 0.623 MB / 0.7945 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.257, allocations: 7.938 kB / 0.7945 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.2572, allocations: 39.97 kB / 0.7945 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2572, allocations: 0 / 0.7945 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.2572, allocations: 4 kB / 0.7945 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2572, allocations: 0 / 0.7945 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2572, allocations: 4 kB / 0.7945 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.2581, allocations: 398.9 kB / 0.7949 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.2582, allocations: 104.8 kB / 0.795 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.2582, allocations: 4 kB / 0.795 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.2584, allocations: 15.98 kB / 0.795 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.2585, allocations: 11.92 kB / 0.795 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.2585, allocations: 7.938 kB / 0.795 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002051/0.2587, allocations: 210 kB / 0.7952 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2587, allocations: 0 / 0.7952 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004021/0.2591, allocations: 87.59 kB / 0.7953 GB, free: 1.359 MB / 0.6075 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.0001939/0.2593, allocations: 106.5 kB / 0.7954 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007216/0.26, allocations: 289.4 kB / 0.7957 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.26, allocations: 4 kB / 0.7957 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.2602, allocations: 83.89 kB / 0.7958 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.2607, allocations: 39.7 kB / 0.7958 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/0.2617, allocations: 0.6223 MB / 0.7964 GB, free: 204 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2621, allocations: 0.7597 MB / 0.7972 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.2622, allocations: 23.42 kB / 0.7972 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2622, allocations: 0 / 0.7972 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.00579/0.268, allocations: 3.212 MB / 0.8003 GB, free: 12.19 MB / 0.6231 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)