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.001548/0.001548, allocations: 84.39 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001696/0.001696, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 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.9166/0.9166, allocations: 110.3 MB / 370.6 MB, free: 12.46 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 474.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.466e-05, allocations: 4.938 kB / 474.5 MB, free: 15.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002181/0.002206, allocations: 1.457 MB / 475.9 MB, free: 14.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007088/0.002915, allocations: 474.9 kB / 476.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.002961, allocations: 2 kB / 476.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.002988, allocations: 3.422 kB / 476.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.003051, allocations: 3.938 kB / 476.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.003245, allocations: 19.3 kB / 476.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.003305, allocations: 29.73 kB / 476.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/0.003385, allocations: 11.73 kB / 476.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.003458, allocations: 12.58 kB / 476.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.00349, allocations: 10.05 kB / 476.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.003504, allocations: 4.312 kB / 476.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.00356, allocations: 15.23 kB / 476.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.003574, allocations: 4 kB / 476.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.003595, allocations: 2.625 kB / 476.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.911e-05/0.003694, allocations: 44.73 kB / 476.5 MB, free: 13.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003696, allocations: 0 / 476.5 MB, free: 13.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003697, allocations: 2.906 kB / 476.5 MB, free: 13.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003701, allocations: 0.9375 kB / 476.5 MB, free: 13.81 MB / 410.7 MB 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.0003518/0.004053, allocations: 267.1 kB / 476.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.004087, allocations: 10.5 kB / 476.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.004131, allocations: 1.438 kB / 476.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.004201, allocations: 122.7 kB / 476.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.004213, allocations: 3 kB / 476.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.004221, allocations: 384 / 476.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.004382, allocations: 50.23 kB / 477 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.00439, allocations: 192 / 477 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.0044, allocations: 4.375 kB / 477 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004405, allocations: 3.938 kB / 477 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.004569, allocations: 35.28 kB / 477 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.004805, allocations: 193.7 kB / 477.2 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.004926, allocations: 46 kB / 477.3 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.005004, allocations: 20.16 kB / 477.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.722e-05/0.005101, allocations: 12.48 kB / 477.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.00512, allocations: 38.12 kB / 477.3 MB, free: 13.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.005121, allocations: 0 / 477.3 MB, free: 13.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003371/0.005458, allocations: 87.62 kB / 477.4 MB, free: 13.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.005478, allocations: 51.41 kB / 477.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.422e-05/0.005532, allocations: 101.7 kB / 477.6 MB, free: 12.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.00554, allocations: 26.83 kB / 477.6 MB, free: 12.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.005567, allocations: 83.42 kB / 477.7 MB, free: 12.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.005582, allocations: 6.578 kB / 477.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.00561, allocations: 17 kB / 477.7 MB, free: 12.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003332/0.005943, allocations: 311.6 kB / 478 MB, free: 28.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.006025, allocations: 21.06 kB / 478 MB, free: 28.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.006092, allocations: 13.38 kB / 478 MB, free: 28.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.006228, allocations: 39.98 kB / 478.1 MB, free: 28.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00623, allocations: 2.438 kB / 478.1 MB, free: 28.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.006405, allocations: 79.8 kB / 478.2 MB, free: 28.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.006419, allocations: 9.188 kB / 478.2 MB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006425, allocations: 3.328 kB / 478.2 MB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.006443, allocations: 0.8125 kB / 478.2 MB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.006522, allocations: 5.25 kB / 478.2 MB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.006527, allocations: 7.812 kB / 478.2 MB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.006571, allocations: 2.625 kB / 478.2 MB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006576, allocations: 0 / 478.2 MB, free: 28.33 MB / 426.7 MB 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 8.954e-05/0.006665, allocations: 113 kB / 478.3 MB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.006692, allocations: 9.938 kB / 478.3 MB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.0069, allocations: 70.75 kB / 478.4 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006902, allocations: 0 / 478.4 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.006906, allocations: 2.625 kB / 478.4 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006909, allocations: 7.406 kB / 478.4 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.49e-05/0.007004, allocations: 103.2 kB / 478.5 MB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007005, allocations: 0 / 478.5 MB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.007058, allocations: 11.56 kB / 478.5 MB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.00706, allocations: 0 / 478.5 MB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.007067, allocations: 6.562 kB / 478.5 MB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.007068, allocations: 256 / 478.5 MB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007069, allocations: 0 / 478.5 MB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.007301, allocations: 164.7 kB / 478.7 MB, free: 27.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.00731, allocations: 7.953 kB / 478.7 MB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.007321, allocations: 3.938 kB / 478.7 MB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.007396, allocations: 8.906 kB / 478.7 MB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.007434, allocations: 0.625 kB / 478.7 MB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.007437, allocations: 3.438 kB / 478.7 MB, free: 27.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.684e-05/0.007494, allocations: 85.38 kB / 478.8 MB, free: 27.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007494, allocations: 0.5938 kB / 478.8 MB, free: 27.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000229/0.007723, allocations: 9.688 kB / 478.8 MB, free: 27.81 MB / 426.7 MB 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.0001413/0.007865, allocations: 105 kB / 478.9 MB, free: 27.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.008058, allocations: 34.42 kB / 478.9 MB, free: 27.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008059, allocations: 0 / 478.9 MB, free: 27.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.008137, allocations: 23.12 kB / 478.9 MB, free: 27.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.008393, allocations: 6.594 kB / 479 MB, free: 27.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.008679, allocations: 128.1 kB / 479.1 MB, free: 27.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.00872, allocations: 61.98 kB / 479.1 MB, free: 27.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.008747, allocations: 10.69 kB / 479.1 MB, free: 27.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.008769, allocations: 9.156 kB / 479.2 MB, free: 27.5 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.00877, allocations: 0 / 479.2 MB, free: 27.5 MB / 426.7 MB Notification: Performance of Templates: time 0.002938/0.01171, allocations: 0.6124 MB / 479.8 MB, free: 27.45 MB / 426.7 MB " [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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3770216149277985]