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.001183/0.001183, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001373/0.001373, allocations: 213.3 kB / 23.01 MB, free: 4.566 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.8485/0.8485, allocations: 145 MB / 458.2 MB, free: 15.54 MB / 366.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") [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.001918/0.001918, allocations: 66.8 kB / 0.6344 GB, free: 6.812 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1591, allocations: 87.89 MB / 0.7202 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.00262/0.1617, allocations: 1.571 MB / 0.7218 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.1621, allocations: 116.5 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.1621, allocations: 0 / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.1622, allocations: 3.938 kB / 0.7219 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.1622, allocations: 15.88 kB / 0.7219 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.1625, allocations: 31.95 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.651e-05/0.1625, allocations: 55.77 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1627, allocations: 19.98 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.1627, allocations: 27.86 kB / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.1628, allocations: 27.91 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1628, allocations: 4 kB / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.1629, allocations: 12 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.1629, allocations: 15.92 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.1629, allocations: 27.84 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.1631, allocations: 59.75 kB / 0.7222 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1631, allocations: 4 kB / 0.7222 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1631, allocations: 0 / 0.7222 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1631, allocations: 0 / 0.7222 GB, free: 12.94 MB / 0.545 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.0005038/0.1636, allocations: 306.1 kB / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1636, allocations: 12.03 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.1637, allocations: 8.828 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1638, allocations: 126.4 kB / 0.7226 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1638, allocations: 12.38 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1638, allocations: 384 / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1641, allocations: 90.19 kB / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1641, allocations: 192 / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1641, allocations: 3.938 kB / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1641, allocations: 4 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.1644, allocations: 83.86 kB / 0.7228 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.1649, allocations: 287.8 kB / 0.723 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1651, allocations: 62.56 kB / 0.7231 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1652, allocations: 48.91 kB / 0.7232 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.1653, allocations: 4 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1653, allocations: 30.56 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1653, allocations: 0 / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005093/0.1658, allocations: 141.7 kB / 0.7233 GB, free: 11.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.1658, allocations: 51.41 kB / 0.7234 GB, free: 11.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.1659, allocations: 121.8 kB / 0.7235 GB, free: 11.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.166, allocations: 25.7 kB / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.166, allocations: 96.02 kB / 0.7236 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.166, allocations: 11.91 kB / 0.7236 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1661, allocations: 17.72 kB / 0.7236 GB, free: 11.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1662, allocations: 322.8 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1663, allocations: 31.97 kB / 0.724 GB, free: 10.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1665, allocations: 43.88 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.1667, allocations: 76.78 kB / 0.7241 GB, free: 10.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1667, allocations: 0 / 0.7241 GB, free: 10.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003087/0.167, allocations: 101.5 kB / 0.7242 GB, free: 10.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.167, allocations: 8 kB / 0.7242 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.167, allocations: 0 / 0.7242 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.167, allocations: 0 / 0.7242 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1672, allocations: 23.98 kB / 0.7242 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1672, allocations: 0 / 0.7242 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.1672, allocations: 11.98 kB / 0.7242 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1673, allocations: 7.984 kB / 0.7242 GB, free: 10.62 MB / 0.545 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 7.983e-05/0.1673, allocations: 113.8 kB / 0.7243 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1674, allocations: 3.953 kB / 0.7243 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.1677, allocations: 121.6 kB / 0.7245 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1677, allocations: 0 / 0.7245 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1677, allocations: 3.938 kB / 0.7245 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1677, allocations: 0 / 0.7245 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.1679, allocations: 152.7 kB / 0.7246 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1679, allocations: 0 / 0.7246 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.168, allocations: 11.98 kB / 0.7246 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.168, allocations: 4 kB / 0.7246 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.168, allocations: 4 kB / 0.7246 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.168, allocations: 0 / 0.7246 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.168, allocations: 0 / 0.7246 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.1684, allocations: 203.4 kB / 0.7248 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.1684, allocations: 3.938 kB / 0.7248 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1684, allocations: 8 kB / 0.7248 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.1685, allocations: 11.98 kB / 0.7248 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1685, allocations: 11.92 kB / 0.7249 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1685, allocations: 0 / 0.7249 GB, free: 9.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.1686, allocations: 91.27 kB / 0.7249 GB, free: 9.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1686, allocations: 3.938 kB / 0.7249 GB, free: 9.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002162/0.1688, allocations: 15.95 kB / 0.725 GB, free: 9.789 MB / 0.545 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.0001264/0.1689, allocations: 95.19 kB / 0.7251 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.1692, allocations: 83.91 kB / 0.7251 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1692, allocations: 0 / 0.7251 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1694, allocations: 39.95 kB / 0.7252 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1697, allocations: 4 kB / 0.7252 GB, free: 9.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.17, allocations: 187.3 kB / 0.7254 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1703, allocations: 0.6962 MB / 0.726 GB, free: 8.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1703, allocations: 7.438 kB / 0.726 GB, free: 8.621 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1703, allocations: 0 / 0.726 GB, free: 8.621 MB / 0.545 GB Notification: Performance of Templates: time 0.002448/0.1728, allocations: 0.9498 MB / 0.727 GB, free: 7.676 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.222071405965835] Failed to read output from testmodel.py, exit status != 0: 0.18083191383630037 0.19407760000000002 0.027781859000000002 Calling exit ...