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.0008943/0.0008943, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002121, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009468/0.0009468, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002143, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.966/0.966, allocations: 177.2 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09477/1.061, allocations: 53.66 MB / 243.2 MB, free: 15.61 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.001278/0.001278, allocations: 237.8 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009831/0.002261, allocations: 470.8 kB / 244.7 MB, free: 14.19 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.7585/0.7585, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0736/0.8321, allocations: 42.4 MB / 426.5 MB, free: 5.949 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.583e-06/1.583e-06, allocations: 0 / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.032e-05, allocations: 6.312 kB / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.001887/0.001907, allocations: 1.545 MB / 429.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005572/0.002464, allocations: 0.4955 MB / 429.8 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.002493, allocations: 0 / 429.8 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.002513, allocations: 0 / 429.8 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.002548, allocations: 11.94 kB / 429.9 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.002653, allocations: 19.92 kB / 429.9 MB, free: 2.527 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.046e-05/0.002713, allocations: 31.86 kB / 429.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.002e-05/0.002783, allocations: 0 / 429.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.002864, allocations: 19.97 kB / 429.9 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.002901, allocations: 11.98 kB / 429.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.002915, allocations: 11.88 kB / 429.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.002985, allocations: 8 kB / 430 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.002996, allocations: 4 kB / 430 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.003009, allocations: 4 kB / 430 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.989e-05/0.003099, allocations: 31.91 kB / 430 MB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.003111, allocations: 0 / 430 MB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003112, allocations: 0 / 430 MB, free: 2.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.003124, allocations: 0 / 430 MB, free: 2.406 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.000318/0.003442, allocations: 240.6 kB / 430.2 MB, free: 2.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.003473, allocations: 12.03 kB / 430.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.003499, allocations: 4.938 kB / 430.2 MB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.718e-05/0.003576, allocations: 117.7 kB / 430.4 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.003583, allocations: 384 / 430.4 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.003591, allocations: 4.375 kB / 430.4 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.003693, allocations: 54.89 kB / 430.4 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.0037, allocations: 4.188 kB / 430.4 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.003707, allocations: 4.375 kB / 430.4 MB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.003711, allocations: 3.938 kB / 430.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.003731, allocations: 4 kB / 430.4 MB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.003923, allocations: 148.2 kB / 430.6 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.003969, allocations: 18.58 kB / 430.6 MB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.003984, allocations: 8.797 kB / 430.6 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.14e-05/0.004075, allocations: 8.094 kB / 430.6 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.004098, allocations: 38.56 kB / 430.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004099, allocations: 4 kB / 430.7 MB, free: 1.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 9.211e-05/0.004191, allocations: 41.62 kB / 430.7 MB, free: 1.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.004218, allocations: 51.41 kB / 430.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.816e-05/0.004277, allocations: 106.6 kB / 430.9 MB, free: 1.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.004286, allocations: 25.7 kB / 430.9 MB, free: 1.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.004314, allocations: 88.12 kB / 431 MB, free: 1.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.00433, allocations: 3.953 kB / 431 MB, free: 1.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.004352, allocations: 17.72 kB / 431 MB, free: 1.277 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.004424, allocations: 314.8 kB / 431.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.004435, allocations: 7.938 kB / 431.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-06/0.004442, allocations: 4.125 kB / 431.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.004463, allocations: 12.84 kB / 431.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004465, allocations: 0 / 431.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.08e-05/0.004506, allocations: 33.7 kB / 431.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004518, allocations: 4 kB / 431.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.004522, allocations: 0 / 431.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.004531, allocations: 7.922 kB / 431.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.004594, allocations: 8 kB / 431.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.004597, allocations: 0 / 431.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.004612, allocations: 12.03 kB / 431.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.004616, allocations: 0 / 431.4 MB, free: 0.8633 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.426e-05/0.00466, allocations: 105.8 kB / 431.5 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.004671, allocations: 3.984 kB / 431.5 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.141e-05/0.004733, allocations: 45 kB / 431.5 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004735, allocations: 3.938 kB / 431.5 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.004737, allocations: 0 / 431.5 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.004739, allocations: 0 / 431.5 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.716e-05/0.004816, allocations: 65.91 kB / 431.6 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.004818, allocations: 256 / 431.6 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.004842, allocations: 16.02 kB / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.004847, allocations: 0 / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.004848, allocations: 0 / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.004852, allocations: 4 kB / 431.6 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.004854, allocations: 3.938 kB / 431.6 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.004855, allocations: 0 / 431.6 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.497e-05/0.00492, allocations: 131.5 kB / 431.8 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-06/0.004928, allocations: 0 / 431.8 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.004957, allocations: 8 kB / 431.8 MB, free: 448 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.004981, allocations: 7.922 kB / 431.8 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.004982, allocations: 7.969 kB / 431.8 MB, free: 432 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.098e-05/0.004993, allocations: 12.84 kB / 431.8 MB, free: 416 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004993, allocations: 0 / 431.8 MB, free: 416 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001214/0.005115, allocations: 11.94 kB / 431.8 MB, free: 404 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.0001001/0.005215, allocations: 84.39 kB / 431.9 MB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.255e-05/0.005267, allocations: 16.8 kB / 431.9 MB, free: 292 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.005274, allocations: 4 kB / 431.9 MB, free: 288 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.005288, allocations: 8.859 kB / 431.9 MB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.005428, allocations: 12.12 kB / 431.9 MB, free: 264 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.00575, allocations: 115.8 kB / 432 MB, free: 124 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.035e-05/0.005781, allocations: 55.36 kB / 432.1 MB, free: 48 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.778e-05/0.005799, allocations: 0 / 432.1 MB, free: 48 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1706/0.1764, allocations: 55.38 kB / 432.1 MB, free: 2.691 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1764, allocations: 0 / 432.1 MB, free: 2.691 MB / 410.7 MB Notification: Performance of Templates: time 0.002111/0.1785, allocations: 0.6229 MB / 432.8 MB, free: 2.668 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.3199004465714097]