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.001266/0.001266, allocations: 103.6 kB / 16.36 MB, free: 6.312 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.001373/0.001373, allocations: 192.3 kB / 17.3 MB, free: 5.871 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.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001514/0.001514, allocations: 76.28 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2121, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003419/0.2156, allocations: 2.035 MB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2167, allocations: 435.8 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2169, allocations: 7.938 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.2172, allocations: 43.59 kB / 0.7873 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.2174, allocations: 35.61 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.2177, allocations: 103.9 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.2181, allocations: 296.4 kB / 0.7877 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.2184, allocations: 140.5 kB / 0.7878 GB, free: 68 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3133/0.5317, allocations: 107.3 kB / 0.7879 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.5319, allocations: 108.8 kB / 0.788 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.532, allocations: 33.28 kB / 0.788 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.399e-05/0.532, allocations: 34.59 kB / 0.7881 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.5321, allocations: 62.3 kB / 0.7881 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.5322, allocations: 126.3 kB / 0.7883 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.5325, allocations: 407 kB / 0.7886 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5325, allocations: 3.938 kB / 0.7886 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5326, allocations: 0 / 0.7886 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.5326, allocations: 0 / 0.7886 GB, free: 46.64 MB / 0.6544 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.0007864/0.5334, allocations: 0.5459 MB / 0.7892 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5334, allocations: 11.89 kB / 0.7892 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.5335, allocations: 31.75 kB / 0.7892 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.5338, allocations: 287.7 kB / 0.7895 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5339, allocations: 17.78 kB / 0.7895 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.5339, allocations: 21.91 kB / 0.7895 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.5343, allocations: 234.4 kB / 0.7898 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.5343, allocations: 0 / 0.7898 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.5344, allocations: 10.38 kB / 0.7898 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5344, allocations: 5.25 kB / 0.7898 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.5348, allocations: 175.5 kB / 0.7899 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009651/0.5358, allocations: 0.8507 MB / 0.7908 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.5362, allocations: 181.5 kB / 0.7909 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.5364, allocations: 95.28 kB / 0.791 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.5365, allocations: 3.188 kB / 0.791 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.5365, allocations: 37.73 kB / 0.7911 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.5365, allocations: 0 / 0.7911 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0005507/0.537, allocations: 229.7 kB / 0.7913 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.5371, allocations: 80.83 kB / 0.7914 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.5373, allocations: 239.9 kB / 0.7916 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.5373, allocations: 32.5 kB / 0.7916 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.5374, allocations: 155.8 kB / 0.7918 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.5374, allocations: 40.69 kB / 0.7918 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.5375, allocations: 36.41 kB / 0.7918 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.5375, allocations: 329.4 kB / 0.7922 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.5377, allocations: 77.58 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.5379, allocations: 111.3 kB / 0.7923 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.5382, allocations: 159.5 kB / 0.7925 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5382, allocations: 0 / 0.7925 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003898/0.5386, allocations: 204.6 kB / 0.7927 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.5387, allocations: 10.44 kB / 0.7927 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5387, allocations: 2.625 kB / 0.7927 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5387, allocations: 0 / 0.7927 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.5389, allocations: 45.61 kB / 0.7927 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.5389, allocations: 0 / 0.7927 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.539, allocations: 35.02 kB / 0.7928 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.539, allocations: 5.25 kB / 0.7928 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001697/0.5392, allocations: 156.5 kB / 0.7929 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001265/0.5394, allocations: 101.8 kB / 0.793 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002287/0.5396, allocations: 133.3 kB / 0.7932 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.5396, allocations: 0 / 0.7932 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003055/0.5399, allocations: 185.1 kB / 0.7933 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.5399, allocations: 6.875 kB / 0.7933 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.5399, allocations: 0 / 0.7933 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.5399, allocations: 6.094 kB / 0.7933 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5401, allocations: 28.67 kB / 0.7934 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.5401, allocations: 3.938 kB / 0.7934 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.5402, allocations: 30.38 kB / 0.7934 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5402, allocations: 3.469 kB / 0.7934 GB, free: 44.35 MB / 0.6544 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 8.084e-05/0.5403, allocations: 194.2 kB / 0.7936 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.5403, allocations: 18.06 kB / 0.7936 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.5404, allocations: 19.95 kB / 0.7936 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.5404, allocations: 10.45 kB / 0.7936 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5404, allocations: 1.25 kB / 0.7936 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.5405, allocations: 97.8 kB / 0.7937 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.5405, allocations: 6.469 kB / 0.7937 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.5406, allocations: 15.47 kB / 0.7938 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.5407, allocations: 11.88 kB / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004452/0.5411, allocations: 256.3 kB / 0.794 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005455/0.5417, allocations: 427.3 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001558/0.5418, allocations: 72.75 kB / 0.7945 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001148/0.542, allocations: 180.2 kB / 0.7947 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of Backend: time 3.01e-07/0.542, allocations: 0 / 0.7947 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.5426, allocations: 253.1 kB / 0.7949 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0007049/0.5433, allocations: 0.8221 MB / 0.7957 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.005156/0.5485, allocations: 2.665 MB / 0.7983 GB, free: 42.8 MB / 0.6544 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)