Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.999/1.999, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 183.5 kB / 499.1 MB, free: 4.645 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009334, allocations: 98.72 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 49 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2214, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002706/0.2241, allocations: 2.08 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.2249, allocations: 426.8 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.2251, allocations: 4 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.2253, allocations: 31.72 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.2254, allocations: 23.8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.2256, allocations: 95.89 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.2258, allocations: 264.5 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.226, allocations: 148.5 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.2261, allocations: 71.66 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.2262, allocations: 103.4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.2263, allocations: 12 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.135e-05/0.2263, allocations: 12 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.2263, allocations: 43.78 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.2264, allocations: 95.34 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.2266, allocations: 353 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2266, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2267, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.2267, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007551/0.2274, allocations: 0.5457 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2275, allocations: 15.98 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.2275, allocations: 24.66 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.2278, allocations: 272.2 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2278, allocations: 20.81 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.2278, allocations: 20.38 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.2282, allocations: 238.2 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2282, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2283, allocations: 8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2283, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.2287, allocations: 176.8 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2298, allocations: 0.8508 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.2302, allocations: 186.7 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.2304, allocations: 92.81 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2305, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2305, allocations: 34.56 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.2305, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.0005967/0.2311, allocations: 237.3 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.2312, allocations: 77.11 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.2314, allocations: 228.5 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2314, allocations: 29.7 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.2315, allocations: 152.2 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.2315, allocations: 47.36 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.2316, allocations: 33.72 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.2316, allocations: 330.8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.2318, allocations: 68.81 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.232, allocations: 113 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.2323, allocations: 150.5 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2323, allocations: 4.031 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004084/0.2327, allocations: 213.2 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2327, allocations: 5.094 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2327, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2328, allocations: 7.938 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2329, allocations: 39.91 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2329, allocations: 4.094 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.2331, allocations: 35.75 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2331, allocations: 11.94 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001527/0.2332, allocations: 156.1 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001174/0.2334, allocations: 90.06 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002049/0.2336, allocations: 135.4 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.2336, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0002824/0.2339, allocations: 184.9 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.2339, allocations: 8 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.2339, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-06/0.2339, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.234, allocations: 39.86 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.234, allocations: 4 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2341, allocations: 23.81 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2341, allocations: 8 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.852e-05/0.2342, allocations: 189 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.2343, allocations: 15.81 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.2343, allocations: 29.33 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2343, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2343, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2343, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2346, allocations: 309.3 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2346, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.2347, allocations: 31.97 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2347, allocations: 8 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2347, allocations: 3.938 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2347, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2348, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.2369, allocations: 1.937 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.237, allocations: 104.8 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.237, allocations: 12.06 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2371, allocations: 11.98 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.2372, allocations: 7.984 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.2372, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001061/0.2373, allocations: 171.4 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.2373, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004742/0.2378, allocations: 91.67 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (12): * Single equations (assignments): 12 * 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 8.693e-05/0.2379, allocations: 109.5 kB / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.2384, allocations: 223.8 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2384, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2386, allocations: 68.33 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.239, allocations: 46.28 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.2396, allocations: 0.6113 MB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2398, allocations: 0.7364 MB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.762e-05/0.2399, allocations: 29.52 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.24, allocations: 19.44 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of SimCode: time 9.72e-07/0.24, allocations: 0 / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of Templates: time 0.004163/0.2441, allocations: 2.104 MB / 1.233 GB, free: 101.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)