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.001413/0.001413, 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.002065/0.002065, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.992/0.992, allocations: 143 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 68.08 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1528, allocations: 82.03 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002636/0.1555, allocations: 1.534 MB / 0.5959 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003391/0.1559, allocations: 104.6 kB / 0.596 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.1559, allocations: 7.938 kB / 0.596 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1561, allocations: 15.92 kB / 0.596 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.125e-05/0.1561, allocations: 3.938 kB / 0.596 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1564, allocations: 27.91 kB / 0.596 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.906e-05/0.1565, allocations: 59.83 kB / 0.5961 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1566, allocations: 23.98 kB / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.1567, allocations: 23.92 kB / 0.5961 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1567, allocations: 31.84 kB / 0.5962 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1568, allocations: 4 kB / 0.5962 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.1568, allocations: 12 kB / 0.5962 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1569, allocations: 15.92 kB / 0.5962 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1569, allocations: 27.84 kB / 0.5962 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1571, allocations: 55.81 kB / 0.5963 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1571, allocations: 4 kB / 0.5963 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1571, allocations: 0 / 0.5963 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.1571, allocations: 4 kB / 0.5963 GB, free: 7.555 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.0005316/0.1577, allocations: 377.6 kB / 0.5966 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1577, allocations: 8.031 kB / 0.5967 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.1578, allocations: 38.75 kB / 0.5967 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.1578, allocations: 4.844 kB / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.158, allocations: 184.2 kB / 0.5969 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.158, allocations: 8.375 kB / 0.5969 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.158, allocations: 4.312 kB / 0.5969 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.1583, allocations: 94.14 kB / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1583, allocations: 3.938 kB / 0.597 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1583, allocations: 0 / 0.597 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1583, allocations: 7.938 kB / 0.597 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.1587, allocations: 83.89 kB / 0.5971 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.1592, allocations: 332.6 kB / 0.5974 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1594, allocations: 58.53 kB / 0.5974 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1596, allocations: 44.91 kB / 0.5975 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1596, allocations: 0 / 0.5975 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1597, allocations: 38.59 kB / 0.5975 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1597, allocations: 4 kB / 0.5975 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005659/0.1602, allocations: 133.6 kB / 0.5976 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1603, allocations: 51.41 kB / 0.5977 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.1604, allocations: 113.8 kB / 0.5978 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1604, allocations: 25.7 kB / 0.5978 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.1604, allocations: 99.97 kB / 0.5979 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1605, allocations: 3.906 kB / 0.5979 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.1605, allocations: 21.72 kB / 0.5979 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.1606, allocations: 322.8 kB / 0.5983 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1608, allocations: 31.97 kB / 0.5983 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1609, allocations: 39.89 kB / 0.5983 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.1612, allocations: 72.78 kB / 0.5984 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1612, allocations: 0 / 0.5984 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003398/0.1616, allocations: 105.5 kB / 0.5985 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1616, allocations: 6.656 kB / 0.5985 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1616, allocations: 0 / 0.5985 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1616, allocations: 4 kB / 0.5985 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1618, allocations: 15.98 kB / 0.5985 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1618, allocations: 0 / 0.5985 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.1619, allocations: 19.98 kB / 0.5985 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.1619, allocations: 3.984 kB / 0.5985 GB, free: 5.008 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.402e-05/0.162, allocations: 117.7 kB / 0.5987 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.162, allocations: 7.906 kB / 0.5987 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.1624, allocations: 121.5 kB / 0.5988 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1624, allocations: 0 / 0.5988 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1625, allocations: 3.938 kB / 0.5988 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1625, allocations: 0 / 0.5988 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1626, allocations: 177.6 kB / 0.599 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1626, allocations: 0 / 0.599 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.1627, allocations: 19.92 kB / 0.599 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1628, allocations: 0 / 0.599 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1628, allocations: 4 kB / 0.599 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1628, allocations: 0 / 0.599 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1628, allocations: 0 / 0.599 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.1632, allocations: 203.7 kB / 0.5992 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.1632, allocations: 89.05 kB / 0.5993 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1632, allocations: 4 kB / 0.5993 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1633, allocations: 19.97 kB / 0.5993 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.1634, allocations: 0 / 0.5993 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1634, allocations: 4 kB / 0.5993 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.1635, allocations: 91.27 kB / 0.5994 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1635, allocations: 0 / 0.5994 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002349/0.1637, allocations: 19.88 kB / 0.5994 GB, free: 4.035 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.0007059/0.1644, allocations: 0.7358 MB / 0.6001 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.1648, allocations: 83.91 kB / 0.6002 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1648, allocations: 0 / 0.6002 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.1649, allocations: 35.97 kB / 0.6002 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1653, allocations: 11.98 kB / 0.6002 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.167, allocations: 1.424 MB / 0.6016 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.1672, allocations: 0.6963 MB / 0.6023 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.524e-05/0.1673, allocations: 7.984 kB / 0.6023 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1673, allocations: 19.38 kB / 0.6023 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1673, allocations: 0 / 0.6023 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2687/0.4361, allocations: 1.785 MB / 0.6041 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/8.033, allocations: 10.23 kB / 0.6041 GB, free: 43.76 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)