Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006885/0.006885, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001272/0.001272, allocations: 191.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.039/1.039, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 0.5955 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.488, allocations: 82.03 MB / 0.6756 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002475/0.4905, allocations: 1.529 MB / 0.6771 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.4908, allocations: 122.5 kB / 0.6772 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.4909, allocations: 1.281 kB / 0.6772 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.491, allocations: 13.06 kB / 0.6773 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.664e-05/0.4911, allocations: 12.95 kB / 0.6773 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.4913, allocations: 27.89 kB / 0.6773 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.4914, allocations: 50.25 kB / 0.6773 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.4916, allocations: 28.11 kB / 0.6774 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.4916, allocations: 21.36 kB / 0.6774 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.4917, allocations: 33.78 kB / 0.6774 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.4917, allocations: 4.562 kB / 0.6774 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.4918, allocations: 7.875 kB / 0.6774 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.4919, allocations: 19.5 kB / 0.6775 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.4919, allocations: 29.64 kB / 0.6775 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.492, allocations: 58.11 kB / 0.6775 GB, free: 160 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.492, allocations: 0 / 0.6775 GB, free: 160 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.492, allocations: 1.062 kB / 0.6775 GB, free: 160 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.351e-06/0.4921, allocations: 4 kB / 0.6775 GB, free: 156 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005248/0.4926, allocations: 380.6 kB / 0.6779 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4926, allocations: 9.5 kB / 0.6779 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.4927, allocations: 3.562 kB / 0.6779 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.4928, allocations: 192.1 kB / 0.6781 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.4929, allocations: 1.438 kB / 0.6781 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.4929, allocations: 6.484 kB / 0.6781 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.4932, allocations: 93.36 kB / 0.6782 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4932, allocations: 192 / 0.6782 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4932, allocations: 5 kB / 0.6782 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4932, allocations: 1.094 kB / 0.6782 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.4936, allocations: 80.8 kB / 0.6783 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.4942, allocations: 328.2 kB / 0.6786 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.4945, allocations: 66.89 kB / 0.6787 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.4947, allocations: 36.17 kB / 0.6787 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.4947, allocations: 6.188 kB / 0.6787 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.4948, allocations: 39.52 kB / 0.6787 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4948, allocations: 3.938 kB / 0.6787 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006247/0.4954, allocations: 134 kB / 0.6789 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4955, allocations: 56.5 kB / 0.6789 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.4956, allocations: 114.9 kB / 0.679 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4956, allocations: 25.7 kB / 0.6791 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.4957, allocations: 103.4 kB / 0.6792 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.4958, allocations: 8.922 kB / 0.6792 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.4958, allocations: 13.09 kB / 0.6792 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4959, allocations: 321 kB / 0.6795 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.4961, allocations: 37.86 kB / 0.6795 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.4963, allocations: 35.52 kB / 0.6796 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.4966, allocations: 69.84 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4966, allocations: 0 / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003573/0.497, allocations: 104.6 kB / 0.6797 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.497, allocations: 5.562 kB / 0.6797 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.497, allocations: 3.984 kB / 0.6797 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.497, allocations: 1.406 kB / 0.6797 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4972, allocations: 21.17 kB / 0.6798 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4972, allocations: 1.094 kB / 0.6798 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.4973, allocations: 14.67 kB / 0.6798 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.4973, allocations: 1.188 kB / 0.6798 GB, free: 14.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001034/0.4974, allocations: 122.3 kB / 0.6799 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4975, allocations: 6.031 kB / 0.6799 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.4979, allocations: 116 kB / 0.68 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4979, allocations: 5.094 kB / 0.68 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4979, allocations: 0 / 0.68 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4979, allocations: 0 / 0.68 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.4981, allocations: 178.8 kB / 0.6802 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4981, allocations: 0 / 0.6802 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.4982, allocations: 23.16 kB / 0.6802 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4983, allocations: 0 / 0.6802 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4983, allocations: 5.125 kB / 0.6802 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4983, allocations: 0 / 0.6802 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4983, allocations: 0 / 0.6802 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.4987, allocations: 204 kB / 0.6804 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.4988, allocations: 82.94 kB / 0.6805 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.4988, allocations: 0.9688 kB / 0.6805 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4989, allocations: 14.64 kB / 0.6805 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.4989, allocations: 14.36 kB / 0.6805 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.499, allocations: 1.375 kB / 0.6805 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.499, allocations: 91.23 kB / 0.6806 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.499, allocations: 0 / 0.6806 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002284/0.4993, allocations: 17.09 kB / 0.6806 GB, free: 13.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 3 * 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.0001513/0.4994, allocations: 104 kB / 0.6807 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.4998, allocations: 80.33 kB / 0.6808 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4998, allocations: 0 / 0.6808 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4999, allocations: 39.64 kB / 0.6808 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.5002, allocations: 6.219 kB / 0.6808 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.5006, allocations: 155.9 kB / 0.681 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.5008, allocations: 0.6933 MB / 0.6817 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.5009, allocations: 3.5 kB / 0.6817 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.5009, allocations: 10.09 kB / 0.6817 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of SimCode: time 3.126e-06/0.5009, allocations: 0 / 0.6817 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.003113/0.504, allocations: 0.785 MB / 0.6824 GB, free: 11.86 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)