Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.00125/0.00125, allocations: 102.1 kB / 19.59 MB, free: 2.328 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.001543/0.001543, allocations: 213.7 kB / 22.87 MB, free: 5.633 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.402/1.402, allocations: 230.5 MB / 256.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.002485/0.002485, allocations: 279.2 kB / 313.2 MB, free: 2.824 MB / 238.1 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 1.155/1.155, allocations: 180.8 MB / 0.5376 GB, free: 12.85 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 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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [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.002856/0.002856, allocations: 110.3 kB / 0.7406 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1627, allocations: 95.39 MB / 0.8337 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002748/0.1655, allocations: 1.471 MB / 0.8351 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004339/0.1659, allocations: 184.3 kB / 0.8353 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.1659, allocations: 0 / 0.8353 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.166, allocations: 7.984 kB / 0.8353 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.166, allocations: 3.938 kB / 0.8353 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1663, allocations: 43.8 kB / 0.8354 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.1663, allocations: 23.94 kB / 0.8354 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.546e-05/0.1664, allocations: 7.984 kB / 0.8354 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.1665, allocations: 7.938 kB / 0.8354 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.291e-05/0.1665, allocations: 7.984 kB / 0.8354 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1665, allocations: 4 kB / 0.8354 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1666, allocations: 39.91 kB / 0.8355 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.1667, allocations: 7.984 kB / 0.8355 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.1667, allocations: 15.92 kB / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1668, allocations: 35.89 kB / 0.8355 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1668, allocations: 3.938 kB / 0.8355 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1668, allocations: 0 / 0.8355 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.1668, allocations: 0 / 0.8355 GB, free: 6.043 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.0004412/0.1673, allocations: 266.3 kB / 0.8358 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1673, allocations: 9.344 kB / 0.8358 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.1673, allocations: 12.88 kB / 0.8358 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1674, allocations: 110.5 kB / 0.8359 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1675, allocations: 4.375 kB / 0.8359 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1675, allocations: 8.312 kB / 0.8359 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1677, allocations: 50.23 kB / 0.836 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1677, allocations: 192 / 0.836 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1677, allocations: 3.938 kB / 0.836 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1677, allocations: 0 / 0.836 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.1679, allocations: 35.95 kB / 0.836 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.1682, allocations: 223.9 kB / 0.8362 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1683, allocations: 46.47 kB / 0.8363 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.1684, allocations: 20.91 kB / 0.8363 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-05/0.1685, allocations: 4 kB / 0.8363 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1685, allocations: 34.56 kB / 0.8363 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1685, allocations: 0 / 0.8363 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.00037/0.1689, allocations: 85.59 kB / 0.8364 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1689, allocations: 51.41 kB / 0.8364 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.169, allocations: 109.8 kB / 0.8366 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.169, allocations: 25.7 kB / 0.8366 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.1691, allocations: 85.94 kB / 0.8367 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.1691, allocations: 11.95 kB / 0.8367 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.1691, allocations: 13.7 kB / 0.8367 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1693, allocations: 310.8 kB / 0.837 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/0.1694, allocations: 19.98 kB / 0.837 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.1694, allocations: 11.98 kB / 0.837 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1696, allocations: 44.88 kB / 0.8371 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1696, allocations: 0 / 0.8371 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002079/0.1698, allocations: 69.61 kB / 0.8371 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1698, allocations: 4 kB / 0.8371 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1698, allocations: 7.922 kB / 0.8371 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1698, allocations: 256 / 0.8371 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.1699, allocations: 15.97 kB / 0.8371 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1699, allocations: 4 kB / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.17, allocations: 7.984 kB / 0.8372 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.17, allocations: 0 / 0.8372 GB, free: 4.184 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.027e-05/0.1701, allocations: 114.4 kB / 0.8373 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.1701, allocations: 3.953 kB / 0.8373 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.1703, allocations: 72.97 kB / 0.8373 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1703, allocations: 7.984 kB / 0.8374 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1703, allocations: 0 / 0.8374 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1703, allocations: 0 / 0.8374 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.1705, allocations: 128.7 kB / 0.8375 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1705, allocations: 0 / 0.8375 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.1706, allocations: 11.98 kB / 0.8375 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1706, allocations: 3.938 kB / 0.8375 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.1706, allocations: 0 / 0.8375 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1706, allocations: 0 / 0.8375 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1706, allocations: 32 / 0.8375 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1708, allocations: 167.5 kB / 0.8376 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.1708, allocations: 4 kB / 0.8377 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.1708, allocations: 0 / 0.8377 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.1709, allocations: 11.92 kB / 0.8377 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.171, allocations: 4 kB / 0.8377 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.171, allocations: 4.031 kB / 0.8377 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.171, allocations: 83.27 kB / 0.8377 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.171, allocations: 0 / 0.8377 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002279/0.1712, allocations: 15.94 kB / 0.8378 GB, free: 3.484 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.0001673/0.1714, allocations: 111.2 kB / 0.8379 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.1716, allocations: 39.89 kB / 0.8379 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1716, allocations: 4.062 kB / 0.8379 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.1717, allocations: 15.98 kB / 0.8379 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.172, allocations: 9.969 kB / 0.8379 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.1723, allocations: 101.7 kB / 0.838 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1727, allocations: 0.6768 MB / 0.8387 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.1727, allocations: 7.922 kB / 0.8387 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.1727, allocations: 15.5 kB / 0.8387 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.1727, allocations: 0 / 0.8387 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of Templates: time 0.003072/0.1758, allocations: 0.5897 MB / 0.8393 GB, free: 1.859 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.847709605935961] Failed to read output from testmodel.py, exit status != 0: 0.1829552398994565 0.197367862 0.027656372000000002 Calling exit ...