Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 108 kB / 15.6 MB, free: 132 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.001449/0.001449, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.282/1.282, allocations: 205.1 MB / 222.4 MB, free: 4.414 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.647/1.647, 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.001451/0.001451, allocations: 73.27 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.214, 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.BoilerReturn): time 0.003183/0.2172, allocations: 2.032 MB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.2181, allocations: 447.8 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.2182, allocations: 4 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2184, allocations: 35.59 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2185, allocations: 43.66 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.2187, allocations: 95.86 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.219, allocations: 288.4 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.2193, allocations: 160.5 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2194, allocations: 103.5 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.2195, allocations: 107.5 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.2196, allocations: 40 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.614e-05/0.2196, allocations: 32 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.2197, allocations: 63.83 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.2198, allocations: 127.3 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.2201, allocations: 391 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2201, allocations: 0 / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2201, allocations: 0 / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2201, allocations: 0 / 0.7872 GB, free: 9.527 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008186/0.2209, allocations: 0.5535 MB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.221, allocations: 8.031 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.2211, allocations: 28.56 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.2214, allocations: 289.2 kB / 0.7881 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2214, allocations: 16.81 kB / 0.7881 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.2215, allocations: 16.38 kB / 0.7881 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.2219, allocations: 246.2 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.222, allocations: 3.938 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.222, allocations: 8 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.222, allocations: 4 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.2224, allocations: 169 kB / 0.7885 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.2235, allocations: 0.8599 MB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.224, allocations: 178.7 kB / 0.7895 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.2242, allocations: 96.81 kB / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.2243, allocations: 3.938 kB / 0.7896 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.2243, allocations: 34.56 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.2243, allocations: 0 / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006185/0.2249, allocations: 229.4 kB / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.225, allocations: 81.11 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.2252, allocations: 245 kB / 0.7902 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2252, allocations: 29.7 kB / 0.7902 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.2253, allocations: 156.1 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.2254, allocations: 43.39 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.2254, allocations: 33.7 kB / 0.7904 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2256, allocations: 330.8 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2258, allocations: 68.81 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.226, allocations: 116.9 kB / 0.7909 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.2264, allocations: 167.3 kB / 0.7911 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2264, allocations: 3.938 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004305/0.2268, allocations: 209.4 kB / 0.7913 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2268, allocations: 8 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2268, allocations: 0 / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.2269, allocations: 7.938 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.227, allocations: 35.91 kB / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.227, allocations: 4 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.2272, allocations: 23.83 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.2272, allocations: 12.03 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001944/0.2274, allocations: 156.1 kB / 0.7915 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000146/0.2276, allocations: 95.77 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002577/0.2278, allocations: 133.9 kB / 0.7917 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.2278, allocations: 3.984 kB / 0.7917 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.000339/0.2282, allocations: 181.3 kB / 0.7919 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.2282, allocations: 8 kB / 0.7919 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.2282, allocations: 3.984 kB / 0.7919 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-06/0.2282, allocations: 4.094 kB / 0.7919 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2283, allocations: 35.86 kB / 0.792 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.2283, allocations: 4 kB / 0.792 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2285, allocations: 19.89 kB / 0.792 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.2285, allocations: 7.938 kB / 0.792 GB, free: 4.316 MB / 0.6075 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 9.286e-05/0.2286, allocations: 188.2 kB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.2286, allocations: 23.81 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.2287, allocations: 29.64 kB / 0.7922 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2287, allocations: 0 / 0.7922 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2287, allocations: 0 / 0.7922 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2287, allocations: 0 / 0.7922 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.229, allocations: 309.3 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.229, allocations: 4 kB / 0.7925 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.2292, allocations: 31.97 kB / 0.7926 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2292, allocations: 0 / 0.7926 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2292, allocations: 7.875 kB / 0.7926 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2292, allocations: 4 kB / 0.7926 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2292, allocations: 4 kB / 0.7926 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.2298, allocations: 339.2 kB / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.2299, allocations: 100.8 kB / 0.793 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.2299, allocations: 3.938 kB / 0.793 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.2301, allocations: 20.05 kB / 0.793 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2301, allocations: 7.984 kB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2301, allocations: 8 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001545/0.2303, allocations: 180.5 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2303, allocations: 0 / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003514/0.2307, allocations: 67.69 kB / 0.7933 GB, free: 2.922 MB / 0.6075 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 0.0001026/0.2308, allocations: 103.2 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005609/0.2313, allocations: 231.2 kB / 0.7936 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2314, allocations: 3.938 kB / 0.7936 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.2315, allocations: 68.33 kB / 0.7936 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.232, allocations: 46.53 kB / 0.7937 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.2326, allocations: 409 kB / 0.7941 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2329, allocations: 0.7363 MB / 0.7948 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.964e-05/0.233, allocations: 25.53 kB / 0.7948 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.2331, allocations: 15.44 kB / 0.7948 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2331, allocations: 0 / 0.7948 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of Templates: time 0.004701/0.2378, allocations: 2.008 MB / 0.7968 GB, free: 15.26 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)