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.001446/0.001446, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001635/0.001635, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002547/0.002547, allocations: 283.4 kB / 312.7 MB, free: 2.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: NcDataReader2 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: BuildingSystems 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.002946/0.002946, allocations: 104.7 kB / 0.74 GB, free: 27.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1734, allocations: 95.38 MB / 0.8331 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.003302/0.1767, allocations: 1.46 MB / 0.8346 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009449/0.1777, allocations: 485.3 kB / 0.835 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.1777, allocations: 0 / 0.835 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.1777, allocations: 0 / 0.835 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.1778, allocations: 3.938 kB / 0.835 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.178, allocations: 19.92 kB / 0.8351 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.573e-05/0.1781, allocations: 27.86 kB / 0.8351 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.1782, allocations: 11.98 kB / 0.8351 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.1782, allocations: 11.98 kB / 0.8351 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.1783, allocations: 15.92 kB / 0.8351 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1783, allocations: 0 / 0.8351 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.1783, allocations: 12 kB / 0.8351 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1783, allocations: 4 kB / 0.8351 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1784, allocations: 11.92 kB / 0.8351 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1785, allocations: 39.77 kB / 0.8352 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1785, allocations: 0 / 0.8352 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1785, allocations: 0 / 0.8352 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1785, allocations: 0 / 0.8352 GB, free: 5.562 MB / 0.5762 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.0004679/0.179, allocations: 270.3 kB / 0.8354 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.179, allocations: 9.938 kB / 0.8354 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.179, allocations: 8.891 kB / 0.8355 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1791, allocations: 106.5 kB / 0.8356 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1792, allocations: 384 / 0.8356 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1792, allocations: 4.375 kB / 0.8356 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1794, allocations: 53.98 kB / 0.8356 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1794, allocations: 0 / 0.8356 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1794, allocations: 0 / 0.8356 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1794, allocations: 0 / 0.8356 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1796, allocations: 43.89 kB / 0.8357 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1799, allocations: 196.6 kB / 0.8358 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.18, allocations: 38.5 kB / 0.8359 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1802, allocations: 16.91 kB / 0.8359 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.1803, allocations: 11.98 kB / 0.8359 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1803, allocations: 34.56 kB / 0.8359 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1803, allocations: 0 / 0.8359 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003442/0.1807, allocations: 93.53 kB / 0.836 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1807, allocations: 51.41 kB / 0.8361 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1808, allocations: 101.9 kB / 0.8362 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1809, allocations: 29.7 kB / 0.8362 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.1809, allocations: 84.12 kB / 0.8363 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1809, allocations: 7.891 kB / 0.8363 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.181, allocations: 17.72 kB / 0.8363 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1812, allocations: 315 kB / 0.8366 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.1813, allocations: 15.98 kB / 0.8366 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.1814, allocations: 23.91 kB / 0.8366 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1815, allocations: 40.77 kB / 0.8367 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1815, allocations: 0 / 0.8367 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/0.1817, allocations: 73.66 kB / 0.8368 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1817, allocations: 4 kB / 0.8368 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1817, allocations: 0 / 0.8368 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1817, allocations: 0 / 0.8368 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.1818, allocations: 15.98 kB / 0.8368 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1818, allocations: 0 / 0.8368 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.1819, allocations: 4 kB / 0.8368 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.1819, allocations: 0 / 0.8368 GB, free: 3.754 MB / 0.5762 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 8.542e-05/0.1819, allocations: 118.4 kB / 0.8369 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.182, allocations: 7.984 kB / 0.8369 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1822, allocations: 76.91 kB / 0.837 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1822, allocations: 0 / 0.837 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1822, allocations: 0 / 0.837 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1822, allocations: 0 / 0.837 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1824, allocations: 105.3 kB / 0.8371 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1824, allocations: 3.938 kB / 0.8371 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.1824, allocations: 8 kB / 0.8371 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1824, allocations: 8.016 kB / 0.8371 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1824, allocations: 0 / 0.8371 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1824, allocations: 0 / 0.8371 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1824, allocations: 0 / 0.8371 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1827, allocations: 163.5 kB / 0.8372 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1827, allocations: 7.938 kB / 0.8373 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1827, allocations: 3.984 kB / 0.8373 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1828, allocations: 8.188 kB / 0.8373 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1828, allocations: 4.016 kB / 0.8373 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.1828, allocations: 8 kB / 0.8373 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.1828, allocations: 87.28 kB / 0.8374 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1828, allocations: 0 / 0.8374 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002132/0.1831, allocations: 4 kB / 0.8374 GB, free: 3.086 MB / 0.5762 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.0001469/0.1832, allocations: 103.2 kB / 0.8375 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1834, allocations: 31.97 kB / 0.8375 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1834, allocations: 7.938 kB / 0.8375 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.1835, allocations: 27.97 kB / 0.8375 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1838, allocations: 7.938 kB / 0.8375 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.184, allocations: 105.7 kB / 0.8376 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.1841, allocations: 63.34 kB / 0.8377 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.1841, allocations: 3.984 kB / 0.8377 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.1841, allocations: 11.44 kB / 0.8377 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1841, allocations: 0 / 0.8377 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of Templates: time 0.002943/0.1871, allocations: 0.6183 MB / 0.8383 GB, free: 2.062 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0596922524273396] Failed to read output from testmodel.py, exit status != 0: 0.1944006346166134 0.21093346600000001 0.029271352 Calling exit ...