Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001044, allocations: 182.7 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007532/0.0007532, allocations: 89.19 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003247, allocations: 15.55 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2105, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.00237/0.2129, allocations: 2.08 MB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2143, allocations: 0.8346 MB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.2147, allocations: 7.938 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.2149, allocations: 43.64 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2151, allocations: 35.72 kB / 0.8997 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2155, allocations: 127.9 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.2159, allocations: 360.1 kB / 0.9001 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.2162, allocations: 172.8 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2163, allocations: 87.44 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2165, allocations: 99.3 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.2165, allocations: 12 kB / 0.9005 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.2165, allocations: 8 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.2166, allocations: 47.72 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.2167, allocations: 123.1 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.2169, allocations: 371 kB / 0.901 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2169, allocations: 0 / 0.901 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.217, allocations: 0 / 0.901 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.217, allocations: 0 / 0.901 GB, free: 63.76 MB / 0.6042 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.0009174/0.2179, allocations: 0.5925 MB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2179, allocations: 8.031 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.218, allocations: 44.41 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.2185, allocations: 332.1 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.2185, allocations: 20.94 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.2186, allocations: 28.36 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.2191, allocations: 309.5 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2191, allocations: 0 / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.2192, allocations: 12 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.2192, allocations: 4 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.2196, allocations: 230.1 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.2211, allocations: 1.166 MB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.2216, allocations: 214.8 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.2218, allocations: 112.8 kB / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.2218, allocations: 4 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.2219, allocations: 38.56 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.2219, allocations: 0 / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0006748/0.2226, allocations: 295.7 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.2226, allocations: 55.41 kB / 0.9044 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.2229, allocations: 290.9 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.223, allocations: 29.7 kB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2231, allocations: 184.1 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.2232, allocations: 63.09 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.2232, allocations: 25.7 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.2233, allocations: 342.8 kB / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.2235, allocations: 83.89 kB / 0.9053 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.2238, allocations: 127.3 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.2241, allocations: 205.4 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2242, allocations: 4 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000512/0.2247, allocations: 261.2 kB / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.2247, allocations: 117.6 kB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2247, allocations: 0 / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2248, allocations: 0 / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.225, allocations: 47.91 kB / 0.9061 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.225, allocations: 11.94 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.2251, allocations: 39.67 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2252, allocations: 4 kB / 0.9061 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.2252, allocations: 4 kB / 0.9061 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003599/0.2255, allocations: 211.8 kB / 0.9063 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.2256, allocations: 3.984 kB / 0.9063 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.2256, allocations: 3.984 kB / 0.9063 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2257, allocations: 43.98 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.2257, allocations: 4 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.2259, allocations: 23.89 kB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2259, allocations: 12 kB / 0.9064 GB, free: 57.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal) * 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.0001334/0.226, allocations: 229 kB / 0.9066 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.2261, allocations: 27.7 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.2266, allocations: 245.9 kB / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2266, allocations: 0 / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2266, allocations: 0 / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2266, allocations: 7.922 kB / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.2269, allocations: 353.2 kB / 0.9072 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2269, allocations: 0 / 0.9072 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.2271, allocations: 43.97 kB / 0.9073 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2271, allocations: 0 / 0.9073 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.2271, allocations: 8 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2271, allocations: 0 / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2271, allocations: 0 / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.2278, allocations: 434.9 kB / 0.9077 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.2278, allocations: 104.7 kB / 0.9078 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.2279, allocations: 12.05 kB / 0.9078 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.228, allocations: 19.98 kB / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.2281, allocations: 15.97 kB / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2281, allocations: 4 kB / 0.9079 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001581/0.2283, allocations: 210 kB / 0.9081 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2283, allocations: 0 / 0.9081 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000354/0.2286, allocations: 83.69 kB / 0.9081 GB, free: 56.08 MB / 0.6042 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 (18): * Single equations (assignments): 18 * 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.00011/0.2288, allocations: 103.2 kB / 0.9082 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006278/0.2294, allocations: 317.4 kB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2294, allocations: 4 kB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.2296, allocations: 102.3 kB / 0.9086 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.23, allocations: 52.56 kB / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.2309, allocations: 0.6122 MB / 0.9093 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.2311, allocations: 0.7638 MB / 0.91 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.2311, allocations: 27.44 kB / 0.9101 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2311, allocations: 0 / 0.9101 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.004902/0.236, allocations: 3.35 MB / 0.9133 GB, free: 50.72 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)