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.001049/0.001049, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001095/0.001095, allocations: 197 kB / 16.26 MB, free: 6.621 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.306/1.306, allocations: 205.1 MB / 222.1 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.661/1.661, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001384/0.001385, allocations: 67.75 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2247, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003072/0.2278, allocations: 2.252 MB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008996/0.2287, allocations: 0.5036 MB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2289, allocations: 7.938 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2291, allocations: 31.72 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2292, allocations: 35.72 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2295, allocations: 119.9 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.2298, allocations: 368.2 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.2301, allocations: 177.1 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2302, allocations: 135.4 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.2304, allocations: 131.3 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.2304, allocations: 44 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.637e-05/0.2305, allocations: 44 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.2305, allocations: 87.69 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2306, allocations: 159.1 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.231, allocations: 478.8 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.231, allocations: 0 / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.231, allocations: 0 / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.231, allocations: 0 / 0.7873 GB, free: 9.309 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.0009197/0.2319, allocations: 0.626 MB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.232, allocations: 8.031 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.2321, allocations: 36.55 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.2325, allocations: 327.4 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2325, allocations: 20.92 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.2325, allocations: 28.28 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.233, allocations: 288.2 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2331, allocations: 3.938 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.2331, allocations: 8 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2331, allocations: 8 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.2336, allocations: 210.1 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.2349, allocations: 0.9897 MB / 0.7898 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.2353, allocations: 275.1 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.2356, allocations: 108.7 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.2356, allocations: 0 / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2356, allocations: 38.56 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.2357, allocations: 0 / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006721/0.2363, allocations: 256.3 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2364, allocations: 55.41 kB / 0.7905 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.2366, allocations: 286.9 kB / 0.7907 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2367, allocations: 33.7 kB / 0.7908 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2368, allocations: 184 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.2368, allocations: 51.2 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.2369, allocations: 45.7 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.237, allocations: 338.8 kB / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2372, allocations: 76.81 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.2375, allocations: 123.9 kB / 0.7915 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.2379, allocations: 192.1 kB / 0.7917 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2379, allocations: 4 kB / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004914/0.2384, allocations: 243.7 kB / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2384, allocations: 8 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2384, allocations: 0 / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2384, allocations: 4 kB / 0.792 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2387, allocations: 52.03 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2387, allocations: 0 / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.2388, allocations: 27.73 kB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2389, allocations: 8 kB / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002422/0.2391, allocations: 184 kB / 0.7922 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001823/0.2393, allocations: 113.1 kB / 0.7923 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003287/0.2396, allocations: 180.1 kB / 0.7925 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.2397, allocations: 4 kB / 0.7925 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004485/0.2401, allocations: 247.3 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.2401, allocations: 4 kB / 0.7928 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2401, allocations: 4 kB / 0.7928 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-06/0.2401, allocations: 3.938 kB / 0.7928 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2403, allocations: 48.03 kB / 0.7928 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2403, allocations: 4 kB / 0.7928 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.2405, allocations: 19.89 kB / 0.7928 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2405, allocations: 4 kB / 0.7928 GB, free: 3.293 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.0001171/0.2406, allocations: 204.1 kB / 0.793 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.2407, allocations: 23.72 kB / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.2412, allocations: 215.7 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2412, allocations: 7.938 kB / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2412, allocations: 0 / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2412, allocations: 3.984 kB / 0.7933 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.2421, allocations: 0.6295 MB / 0.7939 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2421, allocations: 4 kB / 0.7939 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.2423, allocations: 35.97 kB / 0.7939 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2424, allocations: 0 / 0.7939 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2424, allocations: 11.98 kB / 0.7939 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2424, allocations: 0 / 0.7939 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2424, allocations: 0 / 0.7939 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.2431, allocations: 394.9 kB / 0.7943 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.2431, allocations: 104.8 kB / 0.7944 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.2432, allocations: 0 / 0.7944 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2434, allocations: 19.97 kB / 0.7944 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.2434, allocations: 11.98 kB / 0.7944 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2434, allocations: 11.94 kB / 0.7945 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001822/0.2436, allocations: 202 kB / 0.7946 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2436, allocations: 0 / 0.7946 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003923/0.244, allocations: 87.59 kB / 0.7947 GB, free: 1.242 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.0001495/0.2442, allocations: 103.2 kB / 0.7948 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007391/0.2449, allocations: 290.6 kB / 0.7951 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.245, allocations: 0 / 0.7951 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.2452, allocations: 83.89 kB / 0.7952 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.2457, allocations: 44.58 kB / 0.7952 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.2467, allocations: 0.5852 MB / 0.7958 GB, free: 124 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2471, allocations: 0.7635 MB / 0.7965 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.2472, allocations: 25.94 kB / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.2473, allocations: 23.44 kB / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2473, allocations: 11.88 kB / 0.7966 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.005543/0.2529, allocations: 2.228 MB / 0.7988 GB, free: 13.06 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)