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.001287/0.001287, allocations: 108 kB / 15.61 MB, free: 152 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.001096/0.001096, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.688/1.688, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001449/0.001449, allocations: 63.86 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2126, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003312/0.2159, allocations: 2.21 MB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.2169, allocations: 0.5269 MB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2171, allocations: 4 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.2172, allocations: 47.47 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.2173, allocations: 51.53 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2176, allocations: 131.8 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.218, allocations: 364.2 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.2182, allocations: 165.1 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.2184, allocations: 147.4 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.2186, allocations: 135.3 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.2186, allocations: 48 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.586e-05/0.2187, allocations: 40 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.2188, allocations: 79.77 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2189, allocations: 167.1 kB / 0.7874 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.2193, allocations: 474.8 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2193, allocations: 0 / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2193, allocations: 0 / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2193, allocations: 0 / 0.7878 GB, free: 8.906 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.0009456/0.2203, allocations: 0.6197 MB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2203, allocations: 12.03 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.2204, allocations: 32.56 kB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.2208, allocations: 331.3 kB / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2209, allocations: 20.94 kB / 0.7888 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.2209, allocations: 36.28 kB / 0.7888 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.2214, allocations: 284.2 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2215, allocations: 3.938 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.2215, allocations: 8 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2215, allocations: 11.94 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.222, allocations: 214.1 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.2234, allocations: 0.9704 MB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.2239, allocations: 275.9 kB / 0.7905 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.2241, allocations: 108.7 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2242, allocations: 7.922 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2242, allocations: 38.56 kB / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.836e-06/0.2242, allocations: 0 / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0007112/0.2249, allocations: 253.2 kB / 0.7909 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.225, allocations: 55.41 kB / 0.791 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.2253, allocations: 286.9 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2253, allocations: 33.7 kB / 0.7913 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2254, allocations: 180.1 kB / 0.7915 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.2255, allocations: 59.19 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/0.2255, allocations: 41.7 kB / 0.7915 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2257, allocations: 334.8 kB / 0.7919 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.2259, allocations: 80.81 kB / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.2261, allocations: 128.1 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.2265, allocations: 194.9 kB / 0.7923 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2265, allocations: 0 / 0.7923 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005176/0.2271, allocations: 241.2 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2271, allocations: 8 kB / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2271, allocations: 0 / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2271, allocations: 4.125 kB / 0.7925 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2274, allocations: 51.91 kB / 0.7925 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2274, allocations: 0 / 0.7925 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.2276, allocations: 27.73 kB / 0.7926 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2276, allocations: 8 kB / 0.7926 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002517/0.2278, allocations: 184.8 kB / 0.7928 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001896/0.228, allocations: 113 kB / 0.7929 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003467/0.2284, allocations: 190.5 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.2284, allocations: 0 / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004536/0.2289, allocations: 245.1 kB / 0.7933 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.2289, allocations: 4 kB / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-06/0.2289, allocations: 0 / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-06/0.2289, allocations: 4 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.2291, allocations: 48.03 kB / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.2291, allocations: 0 / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.2292, allocations: 27.95 kB / 0.7934 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2293, allocations: 4 kB / 0.7934 GB, free: 2.883 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.0001079/0.2294, allocations: 200.1 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.2294, allocations: 23.72 kB / 0.7936 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.23, allocations: 220.6 kB / 0.7938 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.23, allocations: 4 kB / 0.7938 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.23, allocations: 3.984 kB / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.23, allocations: 0 / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/0.2309, allocations: 0.6294 MB / 0.7944 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2309, allocations: 3.938 kB / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.2311, allocations: 35.92 kB / 0.7944 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2311, allocations: 0 / 0.7944 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2312, allocations: 7.984 kB / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2312, allocations: 4 kB / 0.7945 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2312, allocations: 0 / 0.7945 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007356/0.2319, allocations: 391 kB / 0.7948 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.232, allocations: 104.8 kB / 0.7949 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.2321, allocations: 0 / 0.7949 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.2322, allocations: 19.97 kB / 0.7949 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.2323, allocations: 7.984 kB / 0.795 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.2323, allocations: 16 kB / 0.795 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001864/0.2325, allocations: 202 kB / 0.7952 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.854e-06/0.2325, allocations: 0 / 0.7952 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003859/0.2329, allocations: 91.53 kB / 0.7953 GB, free: 0.8359 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.0001172/0.233, allocations: 99.25 kB / 0.7953 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000703/0.2337, allocations: 289.5 kB / 0.7956 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2337, allocations: 0 / 0.7956 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.234, allocations: 87.89 kB / 0.7957 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.2344, allocations: 41.31 kB / 0.7957 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008933/0.2353, allocations: 487 kB / 0.7962 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.2356, allocations: 0.7674 MB / 0.797 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.2358, allocations: 29.92 kB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.2359, allocations: 27.44 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2359, allocations: 4 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.005795/0.2417, allocations: 2.314 MB / 0.7993 GB, free: 12.68 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)