Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001331/0.001331, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001672/0.001672, allocations: 165 kB / 24.17 MB, free: 332 kB / 18.57 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.061/1.061, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.039/2.039, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7752 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.389e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002134/0.002158, allocations: 1.497 MB / 0.7766 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.002876, allocations: 0.492 MB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.002914, allocations: 0 / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.002939, allocations: 4 kB / 0.7771 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.957e-05/0.003009, allocations: 9.672 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.003214, allocations: 20.58 kB / 0.7771 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.003282, allocations: 29.11 kB / 0.7772 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.394e-05/0.003356, allocations: 4 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.003438, allocations: 17.73 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.003473, allocations: 7.781 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.003485, allocations: 0 / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.003546, allocations: 23.92 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.003563, allocations: 1.094 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.00358, allocations: 12.95 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.251e-05/0.003673, allocations: 26.06 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003675, allocations: 0.8125 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003675, allocations: 0 / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.00368, allocations: 2.906 kB / 0.7773 GB, free: 3.301 MB / 0.7292 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.0002878/0.003967, allocations: 236.9 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.004001, allocations: 14.33 kB / 0.7775 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.00418, allocations: 12.92 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.004258, allocations: 113.7 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.004268, allocations: 384 / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.004279, allocations: 4.375 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.579e-05/0.004374, allocations: 57.69 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004381, allocations: 192 / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.004389, allocations: 4.375 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.004395, allocations: 3.938 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.004415, allocations: 4.656 kB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.004636, allocations: 156.1 kB / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.004683, allocations: 26.56 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.0047, allocations: 15.02 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.004714, allocations: 0 / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.004735, allocations: 30.56 kB / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004736, allocations: 0.7656 kB / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001205/0.004856, allocations: 42.39 kB / 0.7779 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.004891, allocations: 59.39 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.004944, allocations: 98.72 kB / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.004956, allocations: 26.2 kB / 0.7781 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.00499, allocations: 92.94 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.005007, allocations: 3.953 kB / 0.7782 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.005036, allocations: 18.95 kB / 0.7782 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.005129, allocations: 314.8 kB / 0.7785 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.005143, allocations: 4.531 kB / 0.7785 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-06/0.005153, allocations: 0.9375 kB / 0.7785 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.005185, allocations: 17.44 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005187, allocations: 0 / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.757e-05/0.005245, allocations: 42.42 kB / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.005257, allocations: 4 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.005262, allocations: 1.438 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.005278, allocations: 7.922 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.005358, allocations: 8 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.005362, allocations: 0.6562 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.005385, allocations: 4 kB / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005389, allocations: 0.6875 kB / 0.7786 GB, free: 1.762 MB / 0.7292 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 6.436e-05/0.005454, allocations: 119.5 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.005468, allocations: 4 kB / 0.7787 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.005503, allocations: 7.297 kB / 0.7787 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.005506, allocations: 3.938 kB / 0.7787 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.005508, allocations: 1.062 kB / 0.7788 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005511, allocations: 0 / 0.7788 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.5e-05/0.005596, allocations: 74.39 kB / 0.7788 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.005598, allocations: 0.75 kB / 0.7788 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.005625, allocations: 4 kB / 0.7788 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.005626, allocations: 0.6875 kB / 0.7788 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.005631, allocations: 0 / 0.7788 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005631, allocations: 1.094 kB / 0.7788 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005632, allocations: 4 kB / 0.7788 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.304e-05/0.005715, allocations: 140.3 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.005722, allocations: 7.984 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.00573, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.292e-05/0.005763, allocations: 0.625 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.00579, allocations: 8.625 kB / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005792, allocations: 0 / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.308e-05/0.005805, allocations: 14.59 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005805, allocations: 0 / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000111/0.005916, allocations: 4 kB / 0.779 GB, free: 1.34 MB / 0.7292 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 9.26e-05/0.006009, allocations: 77.02 kB / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.883e-05/0.006067, allocations: 17.78 kB / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.006074, allocations: 12 kB / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.00609, allocations: 13.38 kB / 0.7791 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.006224, allocations: 5.125 kB / 0.7791 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.006426, allocations: 113.4 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.006454, allocations: 55.3 kB / 0.7793 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.00648, allocations: 6.781 kB / 0.7793 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.006529, allocations: 56.45 kB / 0.7793 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.006529, allocations: 0 / 0.7793 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of Templates: time 0.002043/0.008572, allocations: 0.5863 MB / 0.7799 GB, free: 384 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.251515815034509]