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.00113/0.00113, allocations: 79.69 kB / 21.74 MB, free: 2.504 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.001482/0.001482, allocations: 171.8 kB / 25.18 MB, free: 8.93 MB / 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 0.9615/0.9615, allocations: 177.2 MB / 205.6 MB, free: 4.34 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 1.998/1.998, allocations: 389.6 MB / 0.6364 GB, free: 13.27 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.464e-06/2.464e-06, allocations: 0 / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.88e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002852/0.002881, allocations: 1.53 MB / 0.7771 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008622/0.003743, allocations: 0.4986 MB / 0.7775 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.003787, allocations: 0 / 0.7775 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.003825, allocations: 0 / 0.7775 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.003907, allocations: 7.938 kB / 0.7776 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.004115, allocations: 19.97 kB / 0.7776 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.004191, allocations: 31.8 kB / 0.7776 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.511e-05/0.004276, allocations: 4 kB / 0.7776 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.004363, allocations: 11.98 kB / 0.7776 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.004405, allocations: 11.98 kB / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.00442, allocations: 4 kB / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.004504, allocations: 11.98 kB / 0.7776 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.004524, allocations: 11.92 kB / 0.7777 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.004547, allocations: 8 kB / 0.7777 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.004651, allocations: 31.89 kB / 0.7777 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004655, allocations: 0 / 0.7777 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004656, allocations: 0 / 0.7777 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.004659, allocations: 0 / 0.7777 GB, free: 12.32 MB / 0.7448 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.0004168/0.005076, allocations: 236.9 kB / 0.7779 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.005116, allocations: 11.97 kB / 0.7779 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.005363, allocations: 16.91 kB / 0.778 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.005461, allocations: 109.7 kB / 0.7781 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.005475, allocations: 384 / 0.7781 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.005488, allocations: 4.375 kB / 0.7781 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.00561, allocations: 62.94 kB / 0.7781 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.005619, allocations: 192 / 0.7781 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.005628, allocations: 384 / 0.7781 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.005635, allocations: 3.938 kB / 0.7781 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.005663, allocations: 7.984 kB / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.005929, allocations: 156.3 kB / 0.7783 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.695e-05/0.005986, allocations: 22.52 kB / 0.7783 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.851e-05/0.006005, allocations: 8.922 kB / 0.7783 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.006021, allocations: 4 kB / 0.7783 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.006045, allocations: 34.56 kB / 0.7783 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.006046, allocations: 8 kB / 0.7784 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.006194, allocations: 45.56 kB / 0.7784 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.006227, allocations: 51.41 kB / 0.7784 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.006287, allocations: 106.7 kB / 0.7786 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.006299, allocations: 25.7 kB / 0.7786 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.006332, allocations: 84.12 kB / 0.7787 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.006352, allocations: 7.891 kB / 0.7787 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.006384, allocations: 17.72 kB / 0.7787 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.00647, allocations: 318.8 kB / 0.779 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.006484, allocations: 4.125 kB / 0.779 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.006496, allocations: 7.984 kB / 0.779 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.00653, allocations: 12.86 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006532, allocations: 0 / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.605e-05/0.006598, allocations: 41.62 kB / 0.779 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006612, allocations: 4 kB / 0.7791 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006617, allocations: 4 kB / 0.7791 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.006629, allocations: 3.938 kB / 0.7791 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.006723, allocations: 4 kB / 0.7791 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.006728, allocations: 96 / 0.7791 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.006761, allocations: 11.98 kB / 0.7791 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.006768, allocations: 0 / 0.7791 GB, free: 10.76 MB / 0.7448 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 7.074e-05/0.006838, allocations: 113.8 kB / 0.7792 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.006856, allocations: 0 / 0.7792 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.006896, allocations: 7.312 kB / 0.7792 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.006899, allocations: 3.938 kB / 0.7792 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.006902, allocations: 4 kB / 0.7792 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.006906, allocations: 0 / 0.7792 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.007019, allocations: 65.89 kB / 0.7793 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.007021, allocations: 4 kB / 0.7793 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.007071, allocations: 11.98 kB / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007074, allocations: 0 / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.007081, allocations: 0 / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007082, allocations: 0 / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007084, allocations: 0 / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.007195, allocations: 143.4 kB / 0.7794 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.007202, allocations: 0 / 0.7794 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.007212, allocations: 0 / 0.7794 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.007268, allocations: 4.25 kB / 0.7794 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.007301, allocations: 15.95 kB / 0.7794 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.007307, allocations: 4 kB / 0.7794 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.284e-05/0.00732, allocations: 8.859 kB / 0.7794 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00732, allocations: 0 / 0.7794 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001692/0.007489, allocations: 8 kB / 0.7795 GB, free: 10.32 MB / 0.7448 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.0001063/0.007595, allocations: 72.42 kB / 0.7795 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.007669, allocations: 20.78 kB / 0.7795 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.007676, allocations: 0 / 0.7795 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.0077, allocations: 12.92 kB / 0.7796 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.007887, allocations: 8 kB / 0.7796 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.008179, allocations: 134.3 kB / 0.7797 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.168e-05/0.008231, allocations: 63.34 kB / 0.7797 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/0.008299, allocations: 55.36 kB / 0.7798 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/0.0083, allocations: 0 / 0.7798 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.001924/0.01022, allocations: 0.6591 MB / 0.7804 GB, free: 9.242 MB / 0.7448 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 > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.680393933318555]