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.001062/0.001062, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005507/0.005508, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.316 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.051/1.051, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 12 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1586, allocations: 83.41 MB / 0.598 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.001896/0.1605, allocations: 1.256 MB / 0.5992 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004363/0.161, allocations: 116.4 kB / 0.5993 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.1611, allocations: 0 / 0.5993 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.1612, allocations: 11.94 kB / 0.5993 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.1613, allocations: 7.938 kB / 0.5993 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1616, allocations: 19.97 kB / 0.5993 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1618, allocations: 51.84 kB / 0.5994 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1619, allocations: 23.98 kB / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.162, allocations: 23.91 kB / 0.5994 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1621, allocations: 23.86 kB / 0.5995 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1621, allocations: 0 / 0.5995 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.1622, allocations: 11.98 kB / 0.5995 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.1622, allocations: 11.94 kB / 0.5995 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.1623, allocations: 45.56 kB / 0.5995 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1624, allocations: 59.78 kB / 0.5996 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1624, allocations: 0 / 0.5996 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1624, allocations: 0 / 0.5996 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1624, allocations: 0 / 0.5996 GB, free: 5.898 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.0004785/0.1629, allocations: 383.6 kB / 0.5999 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1629, allocations: 8.031 kB / 0.5999 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.163, allocations: 34.75 kB / 0.6 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.163, allocations: 8.844 kB / 0.6 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1632, allocations: 184.2 kB / 0.6002 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1632, allocations: 4.375 kB / 0.6002 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1632, allocations: 4.375 kB / 0.6002 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1635, allocations: 98.19 kB / 0.6003 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1635, allocations: 3.938 kB / 0.6003 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1635, allocations: 4 kB / 0.6003 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1635, allocations: 4 kB / 0.6003 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.1639, allocations: 107.8 kB / 0.6004 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.1644, allocations: 336.7 kB / 0.6007 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1646, allocations: 74.56 kB / 0.6008 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.1648, allocations: 48.92 kB / 0.6008 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.1648, allocations: 8 kB / 0.6008 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1649, allocations: 30.56 kB / 0.6009 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1649, allocations: 0 / 0.6009 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005853/0.1655, allocations: 177.6 kB / 0.601 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1655, allocations: 55.41 kB / 0.6011 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1656, allocations: 117.8 kB / 0.6012 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1657, allocations: 29.64 kB / 0.6012 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.1657, allocations: 95.98 kB / 0.6013 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.1657, allocations: 11.89 kB / 0.6013 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.1658, allocations: 9.719 kB / 0.6013 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1659, allocations: 322.8 kB / 0.6016 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.1661, allocations: 47.95 kB / 0.6017 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1662, allocations: 47.95 kB / 0.6017 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1665, allocations: 96.77 kB / 0.6018 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1665, allocations: 0 / 0.6018 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003424/0.1669, allocations: 121.6 kB / 0.6019 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1669, allocations: 4 kB / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1669, allocations: 0 / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1669, allocations: 0 / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.167, allocations: 31.91 kB / 0.602 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1671, allocations: 0 / 0.602 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.1671, allocations: 23.89 kB / 0.602 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1672, allocations: 8 kB / 0.602 GB, free: 3.172 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 6.706e-05/0.1672, allocations: 113.8 kB / 0.6021 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1673, allocations: 0 / 0.6021 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.1677, allocations: 145.5 kB / 0.6023 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1677, allocations: 0 / 0.6023 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1677, allocations: 0 / 0.6023 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1677, allocations: 3.938 kB / 0.6023 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1679, allocations: 181.6 kB / 0.6024 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1679, allocations: 0 / 0.6024 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.168, allocations: 27.91 kB / 0.6025 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.168, allocations: 0 / 0.6025 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.168, allocations: 8 kB / 0.6025 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.168, allocations: 0 / 0.6025 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.168, allocations: 0 / 0.6025 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.1684, allocations: 227.3 kB / 0.6027 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.1684, allocations: 77.11 kB / 0.6028 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1685, allocations: 0 / 0.6028 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1686, allocations: 15.98 kB / 0.6028 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.1686, allocations: 15.98 kB / 0.6028 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.1686, allocations: 0 / 0.6028 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.1687, allocations: 91.27 kB / 0.6029 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1687, allocations: 0 / 0.6029 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002241/0.1689, allocations: 19.78 kB / 0.6029 GB, free: 2.156 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.0006413/0.1696, allocations: 0.7631 MB / 0.6036 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.1699, allocations: 100.2 kB / 0.6037 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1699, allocations: 0 / 0.6037 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1701, allocations: 55.89 kB / 0.6038 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1704, allocations: 0 / 0.6038 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2893/0.4597, allocations: 1.494 MB / 0.6052 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.4598, allocations: 0.6899 MB / 0.6059 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.354e-05/0.4599, allocations: 9.859 kB / 0.6059 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.46, allocations: 14.8 kB / 0.6059 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.46, allocations: 0 / 0.6059 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.4701, allocations: 1.493 MB / 0.6074 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001312/0.4703, allocations: 204.8 kB / 0.6076 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.137, allocations: 0.5 kB / 0.6076 GB, free: 38.83 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)