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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9279/0.9279, allocations: 144.9 MB / 454.5 MB, free: 10.02 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.47 kB / 0.6287 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 87.84 MB / 0.7145 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.003103/0.1587, allocations: 1.548 MB / 0.716 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003864/0.1591, allocations: 116.5 kB / 0.7161 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.1592, allocations: 3.938 kB / 0.7161 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.1593, allocations: 15.86 kB / 0.7161 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.627e-05/0.1594, allocations: 3.938 kB / 0.7161 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1596, allocations: 27.97 kB / 0.7162 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1597, allocations: 59.78 kB / 0.7162 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1599, allocations: 19.97 kB / 0.7162 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.16, allocations: 27.92 kB / 0.7163 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.1601, allocations: 23.91 kB / 0.7163 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1601, allocations: 4 kB / 0.7163 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.332e-05/0.1602, allocations: 15.98 kB / 0.7163 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.1602, allocations: 15.92 kB / 0.7163 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.1603, allocations: 23.88 kB / 0.7163 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1605, allocations: 67.95 kB / 0.7164 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.1605, allocations: 3.984 kB / 0.7164 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1605, allocations: 0 / 0.7164 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.1605, allocations: 0 / 0.7164 GB, free: 9.746 MB / 0.5294 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.0007828/0.1613, allocations: 379.1 kB / 0.7168 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.1614, allocations: 8.031 kB / 0.7168 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.899e-05/0.1614, allocations: 4.188 kB / 0.7168 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.1614, allocations: 42.73 kB / 0.7168 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.1615, allocations: 8.891 kB / 0.7168 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1618, allocations: 180.3 kB / 0.717 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1618, allocations: 384 / 0.717 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1618, allocations: 4.375 kB / 0.717 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.1622, allocations: 97.88 kB / 0.7171 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1622, allocations: 3.984 kB / 0.7171 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1622, allocations: 0 / 0.7171 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1622, allocations: 4 kB / 0.7171 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.1625, allocations: 75.92 kB / 0.7172 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.1633, allocations: 336.6 kB / 0.7175 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1635, allocations: 58.53 kB / 0.7176 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1637, allocations: 40.91 kB / 0.7176 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.1637, allocations: 4 kB / 0.7176 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.1638, allocations: 34.56 kB / 0.7176 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.1638, allocations: 96 / 0.7176 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006677/0.1644, allocations: 137.5 kB / 0.7178 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1645, allocations: 55.34 kB / 0.7178 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1646, allocations: 121.8 kB / 0.7179 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1647, allocations: 25.7 kB / 0.718 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.1647, allocations: 96.09 kB / 0.718 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1648, allocations: 15.84 kB / 0.7181 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.1648, allocations: 17.7 kB / 0.7181 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.165, allocations: 322.8 kB / 0.7184 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.1652, allocations: 31.95 kB / 0.7184 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1653, allocations: 31.97 kB / 0.7184 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.1657, allocations: 80.7 kB / 0.7185 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1657, allocations: 0 / 0.7185 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003695/0.166, allocations: 101.6 kB / 0.7186 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.1661, allocations: 10.03 kB / 0.7186 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1661, allocations: 4 kB / 0.7186 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1661, allocations: 0 / 0.7186 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1663, allocations: 19.97 kB / 0.7187 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1663, allocations: 0 / 0.7187 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-05/0.1664, allocations: 11.98 kB / 0.7187 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.1664, allocations: 11.92 kB / 0.7187 GB, free: 7.184 MB / 0.5294 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.0001527/0.1665, allocations: 113.8 kB / 0.7188 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.1666, allocations: 7.953 kB / 0.7188 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.167, allocations: 117.4 kB / 0.7189 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.167, allocations: 0 / 0.7189 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.167, allocations: 0 / 0.7189 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.167, allocations: 384 / 0.7189 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.1673, allocations: 177.6 kB / 0.7191 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1673, allocations: 0 / 0.7191 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.1674, allocations: 19.98 kB / 0.7191 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1674, allocations: 0 / 0.7191 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1674, allocations: 3.984 kB / 0.7191 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1674, allocations: 0 / 0.7191 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.1674, allocations: 7.984 kB / 0.7191 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.1678, allocations: 207.3 kB / 0.7193 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.1679, allocations: 81.09 kB / 0.7194 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1679, allocations: 4 kB / 0.7194 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.168, allocations: 11.98 kB / 0.7194 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.1681, allocations: 3.938 kB / 0.7194 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1681, allocations: 4 kB / 0.7194 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.103e-05/0.1682, allocations: 95.2 kB / 0.7195 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1682, allocations: 0 / 0.7195 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002379/0.1684, allocations: 15.95 kB / 0.7195 GB, free: 6.227 MB / 0.5294 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.0008858/0.1693, allocations: 0.742 MB / 0.7202 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.1697, allocations: 75.92 kB / 0.7203 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1697, allocations: 0 / 0.7203 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.1699, allocations: 39.95 kB / 0.7203 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1702, allocations: 8 kB / 0.7204 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1725, allocations: 1.431 MB / 0.7218 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.173, allocations: 0.6963 MB / 0.7224 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.226e-05/0.173, allocations: 12.17 kB / 0.7224 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.1731, allocations: 15.44 kB / 0.7225 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.1731, allocations: 0 / 0.7225 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.1933, allocations: 1.881 MB / 0.7243 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.433, allocations: 14.11 kB / 0.7243 GB, free: 1.293 MB / 0.5294 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.295152970997151] Failed to read output from testmodel.py, exit status != 0: 8.559463550976943 8.586069169 8.420784124 Calling exit ...