Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000976/0.000976, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.002437, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006982/0.0006982, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009165/0.001615, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9351/0.9351, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08836/1.023, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 226.4 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001788/0.003822, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7928/0.7928, allocations: 138.7 MB / 384.3 MB, free: 348 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07802/0.8708, allocations: 42.4 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.869e-05, allocations: 6.25 kB / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.001797/0.001816, allocations: 1.549 MB / 429.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.002425, allocations: 495.5 kB / 430.1 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.002458, allocations: 4 kB / 430.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.00248, allocations: 0 / 430.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.002514, allocations: 11.88 kB / 430.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.002621, allocations: 23.91 kB / 430.2 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.002681, allocations: 27.92 kB / 430.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.002754, allocations: 3.938 kB / 430.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.002839, allocations: 19.92 kB / 430.2 MB, free: 2.309 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.002883, allocations: 11.98 kB / 430.2 MB, free: 2.297 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.002895, allocations: 4 kB / 430.2 MB, free: 2.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.002964, allocations: 15.92 kB / 430.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.002977, allocations: 8 kB / 430.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.251e-05/0.002989, allocations: 4 kB / 430.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.087e-05/0.00308, allocations: 27.91 kB / 430.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.003091, allocations: 0 / 430.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003092, allocations: 0 / 430.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.003101, allocations: 0 / 430.3 MB, free: 2.238 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.0002889/0.00339, allocations: 236.6 kB / 430.5 MB, free: 1.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.00342, allocations: 15.97 kB / 430.5 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.003445, allocations: 4.938 kB / 430.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.003538, allocations: 113.7 kB / 430.6 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.003546, allocations: 4.375 kB / 430.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.003556, allocations: 4.375 kB / 430.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.003657, allocations: 58.88 kB / 430.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-06/0.003662, allocations: 192 / 430.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-06/0.003668, allocations: 384 / 430.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003673, allocations: 3.938 kB / 430.7 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.003691, allocations: 7.984 kB / 430.7 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.003872, allocations: 152.3 kB / 430.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.006e-05/0.003912, allocations: 22.52 kB / 430.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.003924, allocations: 4.859 kB / 430.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.647e-05/0.004001, allocations: 12.06 kB / 430.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.00402, allocations: 34.56 kB / 430.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004021, allocations: 0 / 430.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000103/0.004124, allocations: 45.62 kB / 431 MB, free: 1.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.004189, allocations: 51.41 kB / 431 MB, free: 1.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.004237, allocations: 106.7 kB / 431.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.004247, allocations: 29.7 kB / 431.2 MB, free: 1.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.004273, allocations: 80.14 kB / 431.2 MB, free: 1.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.004289, allocations: 3.953 kB / 431.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.00431, allocations: 21.64 kB / 431.3 MB, free: 1.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.004381, allocations: 319 kB / 431.6 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.004389, allocations: 4 kB / 431.6 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-06/0.004395, allocations: 0 / 431.6 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.004416, allocations: 16.8 kB / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004418, allocations: 0 / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.147e-05/0.00446, allocations: 37.69 kB / 431.6 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004472, allocations: 4 kB / 431.6 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.004475, allocations: 0 / 431.6 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.004487, allocations: 7.938 kB / 431.6 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.004546, allocations: 12.03 kB / 431.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.004549, allocations: 0 / 431.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.004565, allocations: 7.984 kB / 431.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004569, allocations: 0 / 431.7 MB, free: 0.6875 MB / 410.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 4.927e-05/0.004618, allocations: 105.8 kB / 431.8 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.00463, allocations: 4 kB / 431.8 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.004693, allocations: 41 kB / 431.8 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.004698, allocations: 3.938 kB / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.0047, allocations: 0 / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.004702, allocations: 0 / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.00485, allocations: 77.91 kB / 431.9 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004851, allocations: 0 / 431.9 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.004874, allocations: 4 kB / 431.9 MB, free: 436 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.004879, allocations: 0 / 431.9 MB, free: 436 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.004882, allocations: 4 kB / 431.9 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.004885, allocations: 0 / 431.9 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.004887, allocations: 3.938 kB / 431.9 MB, free: 428 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.004889, allocations: 7.922 kB / 431.9 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.564e-05/0.004944, allocations: 123.6 kB / 432 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.004952, allocations: 256 / 432 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.979e-05/0.004982, allocations: 16.02 kB / 432 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.005006, allocations: 7.938 kB / 432.1 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.005009, allocations: 0 / 432.1 MB, free: 256 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.074e-05/0.005019, allocations: 12.84 kB / 432.1 MB, free: 240 kB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005019, allocations: 0 / 432.1 MB, free: 240 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001144/0.005134, allocations: 11.94 kB / 432.1 MB, free: 228 kB / 410.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.0001013/0.005235, allocations: 76.42 kB / 432.2 MB, free: 144 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.729e-05/0.005292, allocations: 20.73 kB / 432.2 MB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.005297, allocations: 0 / 432.2 MB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.005316, allocations: 16.94 kB / 432.2 MB, free: 100 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.005482, allocations: 63.41 kB / 432.3 MB, free: 24 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1781/0.1836, allocations: 113 kB / 432.4 MB, free: 2.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.1836, allocations: 55.44 kB / 432.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.539e-05/0.1837, allocations: 1.125 kB / 432.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.1837, allocations: 55.84 kB / 432.5 MB, free: 2.418 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/0.1837, allocations: 0 / 432.5 MB, free: 2.418 MB / 410.7 MB Notification: Performance of Templates: time 0.002533/0.1863, allocations: 0.622 MB / 433.1 MB, free: 2.395 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.348222958855331]