Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.001386/0.001386, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001627/0.001627, allocations: 163.7 kB / 23.02 MB, free: 4.945 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.344/1.344, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.8582/0.8582, allocations: 110.3 MB / 370.1 MB, free: 15.68 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") [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.001878/0.001878, allocations: 66.67 kB / 0.5483 GB, free: 13.29 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1502, allocations: 87.86 MB / 0.6341 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002664/0.1529, allocations: 1.468 MB / 0.6355 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.1537, allocations: 475.8 kB / 0.636 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.1537, allocations: 0 / 0.636 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1537, allocations: 0 / 0.636 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.1538, allocations: 7.938 kB / 0.636 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.1539, allocations: 27.91 kB / 0.636 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.154, allocations: 27.92 kB / 0.6361 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.154, allocations: 4 kB / 0.6361 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.1541, allocations: 15.92 kB / 0.6361 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.774e-05/0.1541, allocations: 8 kB / 0.6361 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1541, allocations: 4 kB / 0.6361 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.1542, allocations: 11.98 kB / 0.6361 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1542, allocations: 7.938 kB / 0.6361 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.1542, allocations: 15.97 kB / 0.6361 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 7.805e-05/0.1543, allocations: 27.84 kB / 0.6362 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1543, allocations: 7.938 kB / 0.6362 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1543, allocations: 0 / 0.6362 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.1543, allocations: 0 / 0.6362 GB, free: 3.164 MB / 0.5919 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.0003508/0.1546, allocations: 266.3 kB / 0.6364 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.1547, allocations: 12.03 kB / 0.6364 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.924e-05/0.1547, allocations: 0.9375 kB / 0.6364 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.93e-05/0.1548, allocations: 106.5 kB / 0.6365 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.1548, allocations: 384 / 0.6365 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.1548, allocations: 4.375 kB / 0.6365 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1549, allocations: 61.92 kB / 0.6366 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.1549, allocations: 0 / 0.6366 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-06/0.1549, allocations: 0 / 0.6366 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-06/0.1549, allocations: 0 / 0.6366 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1551, allocations: 39.89 kB / 0.6366 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.1553, allocations: 200.5 kB / 0.6368 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1555, allocations: 38.5 kB / 0.6369 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.1555, allocations: 24.91 kB / 0.6369 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.1556, allocations: 7.984 kB / 0.6369 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1556, allocations: 34.56 kB / 0.6369 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1556, allocations: 0 / 0.6369 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003388/0.156, allocations: 81.58 kB / 0.637 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.156, allocations: 51.41 kB / 0.6371 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.1561, allocations: 101.9 kB / 0.6371 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1561, allocations: 29.83 kB / 0.6372 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.1562, allocations: 88.12 kB / 0.6373 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1562, allocations: 7.953 kB / 0.6373 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1562, allocations: 9.719 kB / 0.6373 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1564, allocations: 318.8 kB / 0.6376 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.1564, allocations: 11.98 kB / 0.6376 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.1565, allocations: 20.22 kB / 0.6376 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1567, allocations: 44.83 kB / 0.6377 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1567, allocations: 4 kB / 0.6377 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.1569, allocations: 69.59 kB / 0.6377 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1569, allocations: 6.188 kB / 0.6377 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1569, allocations: 4 kB / 0.6377 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1569, allocations: 0 / 0.6377 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.157, allocations: 7.984 kB / 0.6377 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.157, allocations: 4.031 kB / 0.6377 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.157, allocations: 4 kB / 0.6378 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.157, allocations: 4 kB / 0.6378 GB, free: 1.363 MB / 0.5919 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.768e-05/0.1571, allocations: 117.8 kB / 0.6379 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.1571, allocations: 3.953 kB / 0.6379 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.1574, allocations: 80.84 kB / 0.6379 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1574, allocations: 3.984 kB / 0.638 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.1574, allocations: 3.938 kB / 0.638 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.1574, allocations: 4.031 kB / 0.638 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1575, allocations: 109.3 kB / 0.6381 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1575, allocations: 7.938 kB / 0.6381 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.1576, allocations: 4 kB / 0.6381 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1576, allocations: 3.984 kB / 0.6381 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-06/0.1576, allocations: 0 / 0.6381 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1576, allocations: 0 / 0.6381 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1576, allocations: 4 kB / 0.6381 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1578, allocations: 163.5 kB / 0.6382 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.1578, allocations: 7.891 kB / 0.6382 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.1578, allocations: 4 kB / 0.6382 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.1579, allocations: 4 kB / 0.6383 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.1579, allocations: 7.984 kB / 0.6383 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1579, allocations: 0 / 0.6383 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.158, allocations: 79.28 kB / 0.6383 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.158, allocations: 0 / 0.6383 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002138/0.1582, allocations: 8 kB / 0.6383 GB, free: 0.6914 MB / 0.5919 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.0001214/0.1583, allocations: 111.2 kB / 0.6384 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1585, allocations: 35.97 kB / 0.6385 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.1585, allocations: 0 / 0.6385 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.1586, allocations: 23.91 kB / 0.6385 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1588, allocations: 11.94 kB / 0.6385 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.159, allocations: 101.6 kB / 0.6386 GB, free: 388 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.1591, allocations: 63.47 kB / 0.6387 GB, free: 304 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.1591, allocations: 4 kB / 0.6387 GB, free: 300 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.1591, allocations: 8.5 kB / 0.6387 GB, free: 292 kB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.1591, allocations: 0 / 0.6387 GB, free: 292 kB / 0.5919 GB Notification: Performance of Templates: time 0.002637/0.1618, allocations: 0.6023 MB / 0.6393 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.911192129948176] Failed to read output from testmodel.py, exit status != 0: 0.16942367400042713 0.182997134 0.025867588 Calling exit ...