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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.547/1.547, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 187.9 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009901/0.0009902, allocations: 97.52 kB / 0.748 GB, free: 61.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2302, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003121/0.2333, allocations: 2.244 MB / 0.9844 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.2341, allocations: 0.5036 MB / 0.9849 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2343, allocations: 4 kB / 0.9849 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.2345, allocations: 31.72 kB / 0.9849 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.2346, allocations: 35.72 kB / 0.985 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.2349, allocations: 123.8 kB / 0.9851 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.2352, allocations: 340.2 kB / 0.9854 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.2355, allocations: 169.1 kB / 0.9856 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.2356, allocations: 103.5 kB / 0.9857 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2357, allocations: 127.2 kB / 0.9858 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.2358, allocations: 16 kB / 0.9858 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.2358, allocations: 16 kB / 0.9858 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.2359, allocations: 55.75 kB / 0.9859 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.236, allocations: 135.1 kB / 0.986 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.2363, allocations: 462.7 kB / 0.9865 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2363, allocations: 0 / 0.9865 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.32e-07/0.2363, allocations: 0 / 0.9865 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2363, allocations: 0 / 0.9865 GB, free: 6.02 MB / 0.7136 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.0009552/0.2373, allocations: 0.6158 MB / 0.9871 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2374, allocations: 15.95 kB / 0.9871 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.2374, allocations: 40.5 kB / 0.9871 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.2379, allocations: 331.3 kB / 0.9874 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.2379, allocations: 20.94 kB / 0.9875 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.2379, allocations: 28.31 kB / 0.9875 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.2385, allocations: 284.2 kB / 0.9877 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2385, allocations: 3.938 kB / 0.9878 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.2385, allocations: 12 kB / 0.9878 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2385, allocations: 7.938 kB / 0.9878 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.239, allocations: 206.1 kB / 0.988 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.2403, allocations: 0.982 MB / 0.9889 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.2408, allocations: 267.9 kB / 0.9892 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.241, allocations: 108.7 kB / 0.9893 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.241, allocations: 7.984 kB / 0.9893 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.2411, allocations: 34.56 kB / 0.9893 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.2411, allocations: 0 / 0.9893 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0006557/0.2417, allocations: 263.2 kB / 0.9896 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2418, allocations: 51.41 kB / 0.9896 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.2421, allocations: 291 kB / 0.9899 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2421, allocations: 25.7 kB / 0.9899 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.2422, allocations: 184 kB / 0.9901 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.2423, allocations: 55.2 kB / 0.9902 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.2423, allocations: 41.7 kB / 0.9902 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2424, allocations: 334.8 kB / 0.9905 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.2427, allocations: 84.67 kB / 0.9906 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.2429, allocations: 123.1 kB / 0.9907 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.2433, allocations: 202.2 kB / 0.9909 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2433, allocations: 0 / 0.9909 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004734/0.2438, allocations: 245.2 kB / 0.9911 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2438, allocations: 6.812 kB / 0.9911 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2438, allocations: 4 kB / 0.9912 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2438, allocations: 0 / 0.9912 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.244, allocations: 47.97 kB / 0.9912 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2441, allocations: 11.94 kB / 0.9912 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.2442, allocations: 23.95 kB / 0.9912 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.2442, allocations: 12 kB / 0.9912 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002426/0.2445, allocations: 180.1 kB / 0.9914 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001757/0.2447, allocations: 108.2 kB / 0.9915 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003389/0.245, allocations: 197.9 kB / 0.9917 GB, free: 328 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.245, allocations: 0 / 0.9917 GB, free: 328 kB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004242/0.2455, allocations: 238.9 kB / 0.9919 GB, free: 84 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.2455, allocations: 8 kB / 0.9919 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.2455, allocations: 0 / 0.9919 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.2455, allocations: 4 kB / 0.9919 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2457, allocations: 43.91 kB / 0.992 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.2457, allocations: 3.984 kB / 0.992 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.2458, allocations: 20.02 kB / 0.992 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.2459, allocations: 16.05 kB / 0.992 GB, free: 15.98 MB / 0.7292 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.0001051/0.246, allocations: 196.1 kB / 0.9922 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.246, allocations: 23.72 kB / 0.9922 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.2465, allocations: 215.6 kB / 0.9924 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2465, allocations: 4 kB / 0.9924 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.2465, allocations: 3.984 kB / 0.9924 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2465, allocations: 0 / 0.9924 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008063/0.2474, allocations: 0.6308 MB / 0.9931 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2474, allocations: 0 / 0.9931 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2476, allocations: 35.92 kB / 0.9931 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2476, allocations: 4 kB / 0.9931 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2476, allocations: 7.984 kB / 0.9931 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2476, allocations: 0 / 0.9931 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2476, allocations: 0 / 0.9931 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.2507, allocations: 2.182 MB / 0.9952 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.2508, allocations: 108.7 kB / 0.9953 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2508, allocations: 4 kB / 0.9953 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.251, allocations: 15.97 kB / 0.9954 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.2511, allocations: 15.97 kB / 0.9954 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2511, allocations: 4 kB / 0.9954 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001856/0.2513, allocations: 205.9 kB / 0.9956 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.362e-06/0.2513, allocations: 4 kB / 0.9956 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005198/0.2518, allocations: 115.5 kB / 0.9957 GB, free: 12.01 MB / 0.7292 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.0001129/0.2519, allocations: 107.3 kB / 0.9958 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006535/0.2526, allocations: 271.7 kB / 0.9961 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2526, allocations: 8.438 kB / 0.9961 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.2528, allocations: 87.95 kB / 0.9961 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.2532, allocations: 40.75 kB / 0.9962 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.2542, allocations: 0.7547 MB / 0.9969 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.2545, allocations: 0.7602 MB / 0.9977 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.2546, allocations: 33.92 kB / 0.9977 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.2547, allocations: 23.53 kB / 0.9977 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.2547, allocations: 3.938 kB / 0.9977 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of Templates: time 0.005303/0.26, allocations: 2.536 MB / 1 GB, free: 7.344 MB / 0.7292 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)