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.0007336/0.0007337, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.004482/0.004482, allocations: 171.6 kB / 16.26 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.299/1.299, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.718/1.718, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005629/0.0005629, allocations: 21.95 kB / 0.6743 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2255, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002154/0.2277, allocations: 1.867 MB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.2286, allocations: 0.5152 MB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2287, allocations: 4 kB / 0.7902 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.2288, allocations: 23.73 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2289, allocations: 39.7 kB / 0.7903 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.2292, allocations: 115.9 kB / 0.7904 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.2295, allocations: 336.2 kB / 0.7907 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.2298, allocations: 165.1 kB / 0.7909 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2299, allocations: 87.45 kB / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2301, allocations: 103.3 kB / 0.791 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.2301, allocations: 8 kB / 0.791 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.238e-05/0.2301, allocations: 8 kB / 0.7911 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.2302, allocations: 43.77 kB / 0.7911 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.2303, allocations: 148.8 kB / 0.7912 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.2306, allocations: 442.6 kB / 0.7917 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2306, allocations: 0 / 0.7917 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2306, allocations: 4 kB / 0.7917 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.2306, allocations: 0 / 0.7917 GB, free: 7.664 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.0008213/0.2315, allocations: 0.5718 MB / 0.7922 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2315, allocations: 8.031 kB / 0.7922 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.2316, allocations: 36.56 kB / 0.7923 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.232, allocations: 335.3 kB / 0.7926 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.232, allocations: 16.94 kB / 0.7926 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.2321, allocations: 28.38 kB / 0.7926 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.2326, allocations: 284.2 kB / 0.7929 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2326, allocations: 3.938 kB / 0.7929 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.2326, allocations: 19.98 kB / 0.7929 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2326, allocations: 4 kB / 0.7929 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.2331, allocations: 230 kB / 0.7931 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2344, allocations: 0.9898 MB / 0.7941 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.2349, allocations: 275.9 kB / 0.7944 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.2352, allocations: 124 kB / 0.7945 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.2352, allocations: 3.938 kB / 0.7945 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2352, allocations: 38.56 kB / 0.7945 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.2352, allocations: 0 / 0.7945 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0007013/0.2359, allocations: 276.3 kB / 0.7948 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.236, allocations: 55.41 kB / 0.7949 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.2363, allocations: 290.9 kB / 0.7951 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2363, allocations: 33.7 kB / 0.7952 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.2364, allocations: 184 kB / 0.7953 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.2365, allocations: 51.2 kB / 0.7954 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.2365, allocations: 25.7 kB / 0.7954 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2366, allocations: 334.8 kB / 0.7957 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.2368, allocations: 83.95 kB / 0.7958 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.2371, allocations: 125.1 kB / 0.7959 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.2375, allocations: 212.1 kB / 0.7961 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2375, allocations: 0 / 0.7961 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005308/0.2381, allocations: 259.9 kB / 0.7964 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.2382, allocations: 120.4 kB / 0.7965 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2382, allocations: 0 / 0.7965 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2382, allocations: 8.031 kB / 0.7965 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.2384, allocations: 51.91 kB / 0.7966 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2384, allocations: 0 / 0.7966 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2386, allocations: 35.73 kB / 0.7966 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.2386, allocations: 11.92 kB / 0.7966 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.2386, allocations: 4 kB / 0.7966 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004192/0.2391, allocations: 203.8 kB / 0.7968 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/0.2391, allocations: 0 / 0.7968 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/0.2391, allocations: 8.188 kB / 0.7968 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2393, allocations: 55.91 kB / 0.7969 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.2393, allocations: 0 / 0.7969 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2394, allocations: 31.77 kB / 0.7969 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.2394, allocations: 8 kB / 0.7969 GB, free: 2.008 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.0001551/0.2396, allocations: 225.7 kB / 0.7971 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.2397, allocations: 31.64 kB / 0.7971 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.2402, allocations: 234.7 kB / 0.7974 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2402, allocations: 4 kB / 0.7974 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2402, allocations: 0 / 0.7974 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2402, allocations: 3.938 kB / 0.7974 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/0.2411, allocations: 0.6387 MB / 0.798 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2411, allocations: 7.938 kB / 0.798 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.2413, allocations: 39.97 kB / 0.798 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2413, allocations: 0 / 0.798 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2413, allocations: 4 kB / 0.798 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2413, allocations: 3.938 kB / 0.798 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2413, allocations: 0 / 0.798 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.2421, allocations: 415 kB / 0.7984 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.2421, allocations: 108.8 kB / 0.7985 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.2422, allocations: 8 kB / 0.7986 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.2423, allocations: 11.98 kB / 0.7986 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.2424, allocations: 20.05 kB / 0.7986 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2424, allocations: 7.984 kB / 0.7986 GB, free: 160 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000195/0.2426, allocations: 198 kB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2426, allocations: 0 / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003724/0.243, allocations: 87.59 kB / 0.7989 GB, free: 15.88 MB / 0.6231 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.0001249/0.2431, allocations: 111.1 kB / 0.799 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006748/0.2438, allocations: 299 kB / 0.7993 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2438, allocations: 4 kB / 0.7993 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.244, allocations: 87.89 kB / 0.7993 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.2445, allocations: 47.62 kB / 0.7994 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.2453, allocations: 0.5952 MB / 0.8 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2456, allocations: 0.756 MB / 0.8007 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.2457, allocations: 25.94 kB / 0.8007 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.2458, allocations: 35.36 kB / 0.8008 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2458, allocations: 0 / 0.8008 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of Templates: time 0.005012/0.2508, allocations: 2.123 MB / 0.8028 GB, free: 11.77 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: