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.0009901/0.00099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001046/0.001046, allocations: 193.9 kB / 16.14 MB, free: 6.652 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.28/1.28, allocations: 205.1 MB / 222 MB, free: 4.727 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.723/1.723, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001257/0.001257, allocations: 68 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2115, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003242/0.2148, allocations: 2.248 MB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008392/0.2157, allocations: 0.5152 MB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2158, allocations: 4 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.216, allocations: 31.67 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2161, allocations: 31.72 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.2164, allocations: 119.9 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.2167, allocations: 332.2 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.217, allocations: 181.1 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.2171, allocations: 111.4 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.2172, allocations: 119.3 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.2173, allocations: 16 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.231e-05/0.2173, allocations: 20 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.2174, allocations: 55.7 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.2175, allocations: 135.1 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.2178, allocations: 458.7 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2179, allocations: 0 / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2179, allocations: 4 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2179, allocations: 0 / 0.7869 GB, free: 9.68 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.000955/0.2188, allocations: 0.6158 MB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2189, allocations: 8.031 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.219, allocations: 32.56 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.2194, allocations: 335.3 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2194, allocations: 16.94 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.2195, allocations: 28.28 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.22, allocations: 288.2 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.22, allocations: 7.875 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.22, allocations: 15.98 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.22, allocations: 4 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.2205, allocations: 202.1 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.2219, allocations: 0.9859 MB / 0.7894 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.2224, allocations: 271.4 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.2226, allocations: 116.7 kB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2226, allocations: 4 kB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2227, allocations: 30.56 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.2227, allocations: 0 / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006951/0.2234, allocations: 257.2 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2234, allocations: 55.41 kB / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.2237, allocations: 294.8 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.2238, allocations: 29.7 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.2239, allocations: 176.1 kB / 0.7906 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.2239, allocations: 55.2 kB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.224, allocations: 41.7 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2241, allocations: 334.8 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2244, allocations: 80.81 kB / 0.791 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.2246, allocations: 119.9 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.225, allocations: 194.7 kB / 0.7913 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.225, allocations: 0 / 0.7913 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005217/0.2256, allocations: 253.1 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2256, allocations: 10.03 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2256, allocations: 0 / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2256, allocations: 4 kB / 0.7916 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.2259, allocations: 43.91 kB / 0.7916 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2259, allocations: 0 / 0.7916 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.226, allocations: 35.86 kB / 0.7917 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2261, allocations: 4.062 kB / 0.7917 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002645/0.2263, allocations: 188.6 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001961/0.2266, allocations: 113.1 kB / 0.792 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003459/0.2269, allocations: 186 kB / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.2269, allocations: 0 / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004413/0.2274, allocations: 241.1 kB / 0.7924 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.2274, allocations: 7.984 kB / 0.7924 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.2274, allocations: 4 kB / 0.7924 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-06/0.2274, allocations: 0 / 0.7924 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2276, allocations: 43.92 kB / 0.7924 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2276, allocations: 7.984 kB / 0.7924 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.2277, allocations: 20.03 kB / 0.7924 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2278, allocations: 4 kB / 0.7925 GB, free: 3.676 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.0001101/0.2279, allocations: 200.1 kB / 0.7926 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.2279, allocations: 27.72 kB / 0.7927 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.2285, allocations: 215.6 kB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2285, allocations: 8 kB / 0.7929 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2285, allocations: 0 / 0.7929 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2285, allocations: 0 / 0.7929 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.2294, allocations: 0.6255 MB / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2294, allocations: 0 / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.2296, allocations: 39.97 kB / 0.7935 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2296, allocations: 0 / 0.7935 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2296, allocations: 15.92 kB / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2296, allocations: 0 / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2296, allocations: 0 / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.2304, allocations: 399 kB / 0.7939 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.2304, allocations: 104.8 kB / 0.794 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.2305, allocations: 8 kB / 0.794 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2307, allocations: 7.984 kB / 0.794 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.2307, allocations: 19.97 kB / 0.7941 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.2307, allocations: 7.938 kB / 0.7941 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001815/0.2309, allocations: 202 kB / 0.7943 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2309, allocations: 0 / 0.7943 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003709/0.2313, allocations: 91.66 kB / 0.7944 GB, free: 1.621 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.0001292/0.2315, allocations: 99.25 kB / 0.7944 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006581/0.2321, allocations: 275.4 kB / 0.7947 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2321, allocations: 8.062 kB / 0.7947 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.2323, allocations: 86.39 kB / 0.7948 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.2328, allocations: 36.86 kB / 0.7948 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.2336, allocations: 0.583 MB / 0.7954 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.234, allocations: 0.7599 MB / 0.7961 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.2341, allocations: 29.94 kB / 0.7962 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.2342, allocations: 23.42 kB / 0.7962 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2342, allocations: 0 / 0.7962 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.004926/0.2391, allocations: 2.146 MB / 0.7983 GB, free: 13.55 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)