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.001031/0.001031, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00113/0.00113, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.625/1.625, allocations: 292.5 MB / 0.5497 GB, free: 14.67 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.0005133/0.0005134, allocations: 12.56 kB / 0.6736 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1957, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002161/0.1979, allocations: 1.806 MB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009256/0.1989, allocations: 499.8 kB / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.1991, allocations: 7.938 kB / 0.7894 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.1991, allocations: 15.8 kB / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.1994, allocations: 51.78 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1997, allocations: 87.91 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.2, allocations: 204.5 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.2002, allocations: 124.3 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2004, allocations: 83.5 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.2005, allocations: 95.41 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.2006, allocations: 8 kB / 0.79 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.427e-05/0.2006, allocations: 8 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.2006, allocations: 39.83 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.2007, allocations: 73.52 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.201, allocations: 379.2 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.201, allocations: 0 / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.201, allocations: 4 kB / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.201, allocations: 0 / 0.7905 GB, free: 8.516 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.0009202/0.202, allocations: 0.5806 MB / 0.7911 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.202, allocations: 8.031 kB / 0.7911 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.2021, allocations: 31.62 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.2025, allocations: 326 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2026, allocations: 16.56 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.2026, allocations: 28 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.2032, allocations: 283.7 kB / 0.7917 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2032, allocations: 4 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.2033, allocations: 11.98 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2033, allocations: 8 kB / 0.7917 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.2038, allocations: 222.1 kB / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.2052, allocations: 1.001 MB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.2057, allocations: 279.9 kB / 0.7932 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2058, allocations: 3.984 kB / 0.7932 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2058, allocations: 34.56 kB / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.807e-06/0.2058, allocations: 0 / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.000737/0.2066, allocations: 288.5 kB / 0.7935 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.2066, allocations: 59.41 kB / 0.7936 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.2069, allocations: 278.9 kB / 0.7938 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.2069, allocations: 25.7 kB / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2071, allocations: 184 kB / 0.794 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.2071, allocations: 59.19 kB / 0.7941 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.2071, allocations: 7.938 kB / 0.7941 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2073, allocations: 338.8 kB / 0.7944 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.2075, allocations: 79.95 kB / 0.7945 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.2077, allocations: 121.1 kB / 0.7946 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.208, allocations: 91.98 kB / 0.7947 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.208, allocations: 4 kB / 0.7947 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005354/0.2085, allocations: 261.2 kB / 0.795 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.2087, allocations: 455.8 kB / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2087, allocations: 4 kB / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2087, allocations: 7.984 kB / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.209, allocations: 51.84 kB / 0.7954 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.209, allocations: 4 kB / 0.7955 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2091, allocations: 31.73 kB / 0.7955 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.2092, allocations: 4 kB / 0.7955 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.2092, allocations: 4 kB / 0.7955 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004106/0.2096, allocations: 211.7 kB / 0.7957 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.2096, allocations: 128 / 0.7957 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.461e-06/0.2096, allocations: 8 kB / 0.7957 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.2098, allocations: 47.91 kB / 0.7957 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.2098, allocations: 0 / 0.7957 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.21, allocations: 31.78 kB / 0.7958 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.21, allocations: 8 kB / 0.7958 GB, free: 2.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.2102, allocations: 225.1 kB / 0.796 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.2102, allocations: 19.72 kB / 0.796 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/0.2108, allocations: 235.6 kB / 0.7962 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2108, allocations: 3.984 kB / 0.7962 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2108, allocations: 0 / 0.7962 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.2108, allocations: 7.953 kB / 0.7963 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009641/0.2118, allocations: 0.6455 MB / 0.7969 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2118, allocations: 0 / 0.7969 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.212, allocations: 39.92 kB / 0.7969 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.212, allocations: 3.984 kB / 0.7969 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.212, allocations: 4 kB / 0.7969 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.212, allocations: 3.953 kB / 0.7969 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.212, allocations: 8 kB / 0.7969 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.2127, allocations: 411 kB / 0.7973 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.2128, allocations: 100.9 kB / 0.7974 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.2129, allocations: 8 kB / 0.7974 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.213, allocations: 28.03 kB / 0.7975 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.2131, allocations: 11.94 kB / 0.7975 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.2131, allocations: 8 kB / 0.7975 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001836/0.2133, allocations: 198 kB / 0.7977 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2133, allocations: 0 / 0.7977 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003961/0.2137, allocations: 87.59 kB / 0.7978 GB, free: 0.6641 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 (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.0001176/0.2138, allocations: 99.25 kB / 0.7978 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006735/0.2145, allocations: 304 kB / 0.7981 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2145, allocations: 4 kB / 0.7981 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.2147, allocations: 90.86 kB / 0.7982 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2151, allocations: 37.66 kB / 0.7983 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.2159, allocations: 0.564 MB / 0.7988 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.2163, allocations: 0.7677 MB / 0.7996 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.2164, allocations: 33.91 kB / 0.7996 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.2165, allocations: 23.44 kB / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2165, allocations: 0 / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.005764/0.2223, allocations: 2.041 MB / 0.8016 GB, free: 12.68 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: