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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001171/0.001171, allocations: 188.2 kB / 16.13 MB, free: 6.656 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.574 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 0.9639/0.9639, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1698, allocations: 82.04 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.00245/0.1723, allocations: 1.587 MB / 0.5953 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.1727, allocations: 116.5 kB / 0.5954 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.1727, allocations: 0 / 0.5954 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1728, allocations: 7.922 kB / 0.5954 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.435e-05/0.1729, allocations: 3.938 kB / 0.5954 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.173, allocations: 19.98 kB / 0.5954 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.1731, allocations: 55.83 kB / 0.5955 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.1732, allocations: 31.97 kB / 0.5955 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.1733, allocations: 19.92 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.1733, allocations: 27.84 kB / 0.5955 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1734, allocations: 4 kB / 0.5956 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.1734, allocations: 15.98 kB / 0.5956 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.1735, allocations: 11.94 kB / 0.5956 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.1735, allocations: 27.84 kB / 0.5956 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.1736, allocations: 55.81 kB / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1736, allocations: 7.922 kB / 0.5957 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.12e-07/0.1736, allocations: 0 / 0.5957 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1736, allocations: 0 / 0.5957 GB, free: 7.977 MB / 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.0004767/0.1741, allocations: 371.5 kB / 0.596 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1742, allocations: 12.03 kB / 0.596 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.1742, allocations: 38.73 kB / 0.5961 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.1742, allocations: 12.84 kB / 0.5961 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1744, allocations: 192.1 kB / 0.5963 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.1744, allocations: 4.375 kB / 0.5963 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1744, allocations: 4.375 kB / 0.5963 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.1747, allocations: 86.2 kB / 0.5964 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1747, allocations: 3.938 kB / 0.5964 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1747, allocations: 3.938 kB / 0.5964 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1747, allocations: 3.984 kB / 0.5964 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.175, allocations: 83.92 kB / 0.5964 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.1755, allocations: 328.6 kB / 0.5968 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1757, allocations: 58.53 kB / 0.5968 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1758, allocations: 44.94 kB / 0.5969 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1759, allocations: 4 kB / 0.5969 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1759, allocations: 34.56 kB / 0.5969 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1759, allocations: 4 kB / 0.5969 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005292/0.1765, allocations: 129.6 kB / 0.597 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.1765, allocations: 51.41 kB / 0.5971 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.1766, allocations: 121.8 kB / 0.5972 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1766, allocations: 29.7 kB / 0.5972 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.1766, allocations: 95.98 kB / 0.5973 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1767, allocations: 7.906 kB / 0.5973 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1767, allocations: 17.7 kB / 0.5973 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.1768, allocations: 318.8 kB / 0.5976 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.177, allocations: 39.89 kB / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1771, allocations: 31.97 kB / 0.5977 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.1774, allocations: 72.78 kB / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1774, allocations: 0 / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000305/0.1777, allocations: 109.5 kB / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1777, allocations: 4 kB / 0.5979 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1777, allocations: 0 / 0.5979 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1777, allocations: 3.938 kB / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1779, allocations: 24.3 kB / 0.5979 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1779, allocations: 0 / 0.5979 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.178, allocations: 15.92 kB / 0.5979 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.178, allocations: 0 / 0.5979 GB, free: 5.426 MB / 0.4981 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 8.463e-05/0.1781, allocations: 121.8 kB / 0.598 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1781, allocations: 7.906 kB / 0.598 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.1785, allocations: 113.5 kB / 0.5982 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1785, allocations: 3.938 kB / 0.5982 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1785, allocations: 0 / 0.5982 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1785, allocations: 4 kB / 0.5982 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1787, allocations: 181.6 kB / 0.5983 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1787, allocations: 0 / 0.5983 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.1788, allocations: 11.98 kB / 0.5983 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1788, allocations: 4 kB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1788, allocations: 0 / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1788, allocations: 3.984 kB / 0.5984 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1788, allocations: 3.938 kB / 0.5984 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.1792, allocations: 199.4 kB / 0.5985 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.1792, allocations: 92.94 kB / 0.5986 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1792, allocations: 4 kB / 0.5986 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1793, allocations: 11.98 kB / 0.5987 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1794, allocations: 4 kB / 0.5987 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1794, allocations: 3.984 kB / 0.5987 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.1795, allocations: 91.28 kB / 0.5987 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1795, allocations: 0 / 0.5987 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002188/0.1797, allocations: 15.94 kB / 0.5988 GB, free: 4.457 MB / 0.4981 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.0006292/0.1803, allocations: 0.7456 MB / 0.5995 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.1806, allocations: 75.92 kB / 0.5996 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1807, allocations: 0 / 0.5996 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1808, allocations: 39.95 kB / 0.5996 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1811, allocations: 8 kB / 0.5996 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1827, allocations: 1.434 MB / 0.601 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.183, allocations: 0.6887 MB / 0.6017 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.183, allocations: 4 kB / 0.6017 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1831, allocations: 27.36 kB / 0.6017 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1831, allocations: 0 / 0.6017 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3041/0.4872, allocations: 1.553 MB / 0.6032 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.4874, allocations: 193.8 kB / 0.6034 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.134, allocations: 1.469 kB / 0.6034 GB, free: 43.38 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)