Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.001414/0.001414, allocations: 110.1 kB / 19.59 MB, free: 2.211 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.001573/0.001573, allocations: 223.2 kB / 22.88 MB, free: 4.578 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.317/1.317, allocations: 230.5 MB / 256.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.8473/0.8473, allocations: 144.9 MB / 457.8 MB, free: 15.71 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") [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.001873/0.001873, allocations: 63.77 kB / 0.6339 GB, free: 7.047 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1456, allocations: 87.89 MB / 0.7198 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002846/0.1484, allocations: 1.493 MB / 0.7212 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1495, allocations: 0.6318 MB / 0.7218 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.1496, allocations: 0 / 0.7218 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.1496, allocations: 0 / 0.7218 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.1496, allocations: 11.88 kB / 0.7219 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1499, allocations: 63.75 kB / 0.7219 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.15, allocations: 31.91 kB / 0.722 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.1501, allocations: 4 kB / 0.722 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1502, allocations: 23.92 kB / 0.722 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.1502, allocations: 11.92 kB / 0.722 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1502, allocations: 0 / 0.722 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1504, allocations: 59.89 kB / 0.722 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1504, allocations: 15.98 kB / 0.7221 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1504, allocations: 7.938 kB / 0.7221 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1505, allocations: 75.73 kB / 0.7221 GB, free: 12.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1505, allocations: 0 / 0.7221 GB, free: 12.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1505, allocations: 0 / 0.7221 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.1505, allocations: 0 / 0.7221 GB, free: 12.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003921/0.1509, allocations: 278.1 kB / 0.7224 GB, free: 12.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.151, allocations: 8.031 kB / 0.7224 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1511, allocations: 16.88 kB / 0.7224 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.1513, allocations: 122.5 kB / 0.7225 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1513, allocations: 4.375 kB / 0.7226 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.1513, allocations: 384 / 0.7226 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1514, allocations: 46 kB / 0.7226 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1514, allocations: 0 / 0.7226 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.1514, allocations: 0 / 0.7226 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1514, allocations: 0 / 0.7226 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/0.1515, allocations: 23.92 kB / 0.7226 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.1518, allocations: 236 kB / 0.7228 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.1519, allocations: 26.58 kB / 0.7229 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.152, allocations: 17.58 kB / 0.7229 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/0.1526, allocations: 103.8 kB / 0.723 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1526, allocations: 34.5 kB / 0.723 GB, free: 11.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1526, allocations: 0 / 0.723 GB, free: 11.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002299/0.1528, allocations: 57.69 kB / 0.7231 GB, free: 11.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1529, allocations: 59.39 kB / 0.7231 GB, free: 11.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.1529, allocations: 106 kB / 0.7232 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.153, allocations: 37.64 kB / 0.7233 GB, free: 11.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.153, allocations: 84.14 kB / 0.7233 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.153, allocations: 7.891 kB / 0.7234 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.1531, allocations: 13.72 kB / 0.7234 GB, free: 11.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1532, allocations: 318.8 kB / 0.7237 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.1532, allocations: 8 kB / 0.7237 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/0.1533, allocations: 15.92 kB / 0.7237 GB, free: 10.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.241e-05/0.1534, allocations: 32.84 kB / 0.7237 GB, free: 10.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1534, allocations: 0 / 0.7237 GB, free: 10.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.1535, allocations: 57.64 kB / 0.7238 GB, free: 10.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1535, allocations: 4 kB / 0.7238 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1535, allocations: 0 / 0.7238 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1535, allocations: 0 / 0.7238 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.1536, allocations: 7.984 kB / 0.7238 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.1536, allocations: 0 / 0.7238 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.1536, allocations: 8.031 kB / 0.7238 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1536, allocations: 0 / 0.7238 GB, free: 10.82 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 (2): * Single equations (assignments): 2 * 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.668e-05/0.1537, allocations: 117.8 kB / 0.7239 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1537, allocations: 3.938 kB / 0.7239 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.1539, allocations: 61.3 kB / 0.724 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1539, allocations: 3.984 kB / 0.724 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1539, allocations: 0 / 0.724 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-06/0.1539, allocations: 32 / 0.724 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.154, allocations: 144.6 kB / 0.7241 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.154, allocations: 0 / 0.7241 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.1541, allocations: 4 kB / 0.7241 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1541, allocations: 4.375 kB / 0.7241 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.1541, allocations: 3.984 kB / 0.7241 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1541, allocations: 0 / 0.7241 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1541, allocations: 0 / 0.7241 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1543, allocations: 159.4 kB / 0.7243 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.1543, allocations: 7.953 kB / 0.7243 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1543, allocations: 0 / 0.7243 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.1543, allocations: 3.984 kB / 0.7243 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.1544, allocations: 4 kB / 0.7243 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1544, allocations: 4 kB / 0.7243 GB, free: 10.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.1544, allocations: 95.2 kB / 0.7244 GB, free: 10.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1544, allocations: 0 / 0.7244 GB, free: 10.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000224/0.1546, allocations: 15.94 kB / 0.7244 GB, free: 10.12 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 (2): * Single equations (assignments): 2 * 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.0001381/0.1548, allocations: 111.2 kB / 0.7245 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.1549, allocations: 31.92 kB / 0.7245 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1549, allocations: 0 / 0.7245 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.155, allocations: 11.98 kB / 0.7246 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.1552, allocations: 3.938 kB / 0.7246 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.1554, allocations: 160.6 kB / 0.7247 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.468e-05/0.1555, allocations: 67.34 kB / 0.7248 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.1555, allocations: 7.438 kB / 0.7248 GB, free: 9.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1555, allocations: 0 / 0.7248 GB, free: 9.68 MB / 0.545 GB Notification: Performance of Templates: time 0.002199/0.1577, allocations: 0.8726 MB / 0.7256 GB, free: 8.809 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.918367236852646] Failed to read output from testmodel.py, exit status != 0: 0.16560033382847905 0.17819098099999994 0.024920943 Calling exit ...