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.001234/0.001234, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 188 kB / 16.62 MB, free: 6.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.284/1.284, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.738/1.738, allocations: 292.3 MB / 0.5489 GB, free: 12.73 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.001429/0.001429, allocations: 66.17 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2029, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003658/0.2066, allocations: 2.195 MB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2079, allocations: 0.5347 MB / 0.7868 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.2082, allocations: 4 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.2084, allocations: 43.53 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.2087, allocations: 43.53 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.2091, allocations: 143.8 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.2096, allocations: 372.2 kB / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.21, allocations: 173.1 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.2102, allocations: 131.5 kB / 0.7877 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2104, allocations: 143.2 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.2104, allocations: 40 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.2105, allocations: 48 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.2106, allocations: 83.75 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2107, allocations: 163.1 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.2111, allocations: 498.3 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2112, allocations: 0 / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2112, allocations: 0 / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.2112, allocations: 0 / 0.7886 GB, free: 8.117 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.00108/0.2123, allocations: 0.6119 MB / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2123, allocations: 8.031 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.2124, allocations: 36.56 kB / 0.7892 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.213, allocations: 331.3 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.213, allocations: 20.94 kB / 0.7896 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.213, allocations: 28.28 kB / 0.7896 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.2136, allocations: 284.2 kB / 0.7899 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2136, allocations: 7.922 kB / 0.7899 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2136, allocations: 8 kB / 0.7899 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2137, allocations: 8 kB / 0.7899 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.2142, allocations: 210.1 kB / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2155, allocations: 0.9742 MB / 0.791 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.216, allocations: 268 kB / 0.7913 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.2162, allocations: 116.6 kB / 0.7914 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2163, allocations: 0 / 0.7914 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2163, allocations: 38.56 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.2163, allocations: 0 / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006865/0.217, allocations: 252 kB / 0.7917 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.217, allocations: 55.41 kB / 0.7917 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.2173, allocations: 286.9 kB / 0.792 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2174, allocations: 33.7 kB / 0.792 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2175, allocations: 184 kB / 0.7922 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.2175, allocations: 55.2 kB / 0.7923 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.2176, allocations: 41.7 kB / 0.7923 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2177, allocations: 334.8 kB / 0.7926 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.218, allocations: 84.81 kB / 0.7927 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2182, allocations: 131.9 kB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.2186, allocations: 188.1 kB / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2186, allocations: 0 / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005368/0.2192, allocations: 255.6 kB / 0.7933 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2192, allocations: 4 kB / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2192, allocations: 4 kB / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2192, allocations: 0 / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.2195, allocations: 43.97 kB / 0.7933 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2195, allocations: 4 kB / 0.7933 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.2197, allocations: 31.67 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2197, allocations: 8 kB / 0.7934 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000261/0.22, allocations: 188.6 kB / 0.7935 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001939/0.2202, allocations: 105.1 kB / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003562/0.2206, allocations: 188.1 kB / 0.7938 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.2206, allocations: 0 / 0.7938 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004575/0.221, allocations: 243.3 kB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2211, allocations: 14.61 kB / 0.7941 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.2211, allocations: 0 / 0.7941 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-06/0.2211, allocations: 4 kB / 0.7941 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.2213, allocations: 35.98 kB / 0.7941 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2213, allocations: 7.922 kB / 0.7941 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.2214, allocations: 15.91 kB / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2214, allocations: 8 kB / 0.7941 GB, free: 2.121 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.0001108/0.2215, allocations: 200.1 kB / 0.7943 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.2216, allocations: 27.72 kB / 0.7943 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.2221, allocations: 215.6 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2222, allocations: 0 / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2222, allocations: 4 kB / 0.7946 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2222, allocations: 3.984 kB / 0.7946 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009023/0.2231, allocations: 0.627 MB / 0.7952 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2231, allocations: 0 / 0.7952 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.2233, allocations: 39.91 kB / 0.7952 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2233, allocations: 0 / 0.7952 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2233, allocations: 4 kB / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2233, allocations: 4 kB / 0.7952 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2233, allocations: 3.984 kB / 0.7952 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.2241, allocations: 397.9 kB / 0.7956 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.2242, allocations: 112.7 kB / 0.7957 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.2242, allocations: 0 / 0.7957 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2244, allocations: 20.05 kB / 0.7957 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.2245, allocations: 11.97 kB / 0.7957 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.2245, allocations: 15.92 kB / 0.7958 GB, free: 356 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002035/0.2247, allocations: 202 kB / 0.7959 GB, free: 152 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2247, allocations: 0 / 0.7959 GB, free: 152 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003918/0.2251, allocations: 87.59 kB / 0.796 GB, free: 64 kB / 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.0001593/0.2253, allocations: 99.25 kB / 0.7961 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000705/0.226, allocations: 279.7 kB / 0.7964 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.226, allocations: 0 / 0.7964 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.2262, allocations: 84.39 kB / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.2266, allocations: 44.86 kB / 0.7965 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.2275, allocations: 486 kB / 0.797 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.2278, allocations: 0.7597 MB / 0.7977 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.228, allocations: 29.94 kB / 0.7977 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.228, allocations: 23.42 kB / 0.7978 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.228, allocations: 0 / 0.7978 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.005475/0.2335, allocations: 2.325 MB / 0.8 GB, free: 11.92 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)