Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001/0.001, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.00254, 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.0006737/0.0006737, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000967/0.001641, 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.9719/0.9719, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08877/1.061, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.002148/0.002148, allocations: 242 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001815/0.003963, allocations: 471.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.7105/0.7105, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06656/0.7771, allocations: 42.4 MB / 426.7 MB, free: 5.836 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 428.1 MB, free: 4.426 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.874e-05, allocations: 2.312 kB / 428.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001558/0.001576, allocations: 0.6665 MB / 428.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.002886, allocations: 1.163 MB / 430 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.002903, allocations: 3.938 kB / 430 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.057e-06/0.002908, allocations: 0 / 430 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.003021, allocations: 23.86 kB / 430 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.003024, allocations: 0 / 430 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.179e-05/0.003066, allocations: 7.938 kB / 430 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.003105, allocations: 0 / 430 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.003136, allocations: 7.969 kB / 430 MB, free: 2.531 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.166e-05/0.003167, allocations: 7.938 kB / 430 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.637e-06/0.003176, allocations: 4 kB / 430 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.003285, allocations: 16 kB / 430 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.003295, allocations: 0 / 430 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.125e-06/0.003303, allocations: 0 / 430 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.217e-05/0.003385, allocations: 11.98 kB / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.003397, allocations: 3.938 kB / 430 MB, free: 2.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.003397, allocations: 0 / 430 MB, free: 2.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.003408, allocations: 0 / 430 MB, free: 2.488 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.0002126/0.003621, allocations: 220.7 kB / 430.3 MB, free: 2.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.003652, allocations: 8.031 kB / 430.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.003684, allocations: 12.88 kB / 430.3 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.585e-05/0.00375, allocations: 101.8 kB / 430.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.003762, allocations: 4.375 kB / 430.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.003785, allocations: 4.375 kB / 430.4 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.724e-05/0.003863, allocations: 34.25 kB / 430.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.003871, allocations: 192 / 430.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.003877, allocations: 384 / 430.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.003883, allocations: 3.938 kB / 430.4 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.003911, allocations: 7.984 kB / 430.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.035e-05/0.004002, allocations: 61.05 kB / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.004152, allocations: 30.66 kB / 430.5 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.004169, allocations: 16.84 kB / 430.5 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.051e-05/0.004259, allocations: 4 kB / 430.5 MB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.004281, allocations: 34.56 kB / 430.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.004282, allocations: 0 / 430.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001223/0.005505, allocations: 367.1 kB / 430.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.005533, allocations: 51.41 kB / 431 MB, free: 1.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.466e-05/0.005567, allocations: 101.8 kB / 431.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.005584, allocations: 25.7 kB / 431.1 MB, free: 1.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.005604, allocations: 80.14 kB / 431.2 MB, free: 1.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.005637, allocations: 7.906 kB / 431.2 MB, free: 1.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.005683, allocations: 21.7 kB / 431.2 MB, free: 1.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.005763, allocations: 318.8 kB / 431.5 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.005799, allocations: 8 kB / 431.5 MB, free: 0.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.005845, allocations: 26.5 kB / 431.6 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.574e-05/0.005931, allocations: 34.56 kB / 431.6 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.005932, allocations: 0 / 431.6 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001191/0.006051, allocations: 57.62 kB / 431.6 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.006064, allocations: 4 kB / 431.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006069, allocations: 0 / 431.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.006082, allocations: 8.359 kB / 431.7 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.006265, allocations: 40 kB / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.006268, allocations: 0 / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.006369, allocations: 23.94 kB / 431.7 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.00638, allocations: 4 kB / 431.7 MB, free: 0.6133 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 6.456e-05/0.006445, allocations: 113.8 kB / 431.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.006463, allocations: 4 kB / 431.8 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.006641, allocations: 77.28 kB / 431.9 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.006643, allocations: 0 / 431.9 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006645, allocations: 3.938 kB / 431.9 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.006651, allocations: 7.922 kB / 431.9 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.006911, allocations: 206.7 kB / 432.1 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006913, allocations: 0 / 432.1 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.007073, allocations: 32.3 kB / 432.2 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.007079, allocations: 0 / 432.2 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.007083, allocations: 4 kB / 432.2 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.007097, allocations: 11.92 kB / 432.2 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007099, allocations: 3.938 kB / 432.2 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0071, allocations: 0 / 432.2 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1904/0.1975, allocations: 140.3 kB / 432.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1975, allocations: 0 / 432.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1976, allocations: 21.25 kB / 432.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.1976, allocations: 7.734 kB / 432.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1976, allocations: 0 / 432.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.277e-06/0.1977, allocations: 8.703 kB / 432.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1977, allocations: 0 / 432.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.1978, allocations: 10.64 kB / 432.4 MB, free: 2.453 MB / 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 (5): * Single equations (assignments): 5 * 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.0001429/0.1979, allocations: 83.19 kB / 432.4 MB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1981, allocations: 34.23 kB / 432.5 MB, free: 2.379 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1981, allocations: 0 / 432.5 MB, free: 2.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.1981, allocations: 23.34 kB / 432.5 MB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.1982, allocations: 11.08 kB / 432.5 MB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.1985, allocations: 127.4 kB / 432.6 MB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.01e-05/0.1985, allocations: 54.02 kB / 432.7 MB, free: 2.207 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1986, allocations: 28.03 kB / 432.7 MB, free: 2.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.1987, allocations: 54.41 kB / 432.8 MB, free: 2.164 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1987, allocations: 2 kB / 432.8 MB, free: 2.164 MB / 410.7 MB Notification: Performance of Templates: time 0.0025/0.2012, allocations: 0.9256 MB / 433.7 MB, free: 2.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4001081045717]