Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 174.9 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000854/0.0008539, allocations: 89.98 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 10.22 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2386, allocations: 106.3 MB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001819/0.2405, allocations: 1.176 MB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2417, allocations: 0.4886 MB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.2417, allocations: 0 / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.2418, allocations: 4 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2419, allocations: 7.922 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.2422, allocations: 19.98 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.2422, allocations: 27.92 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2424, allocations: 4 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.2425, allocations: 11.92 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.2425, allocations: 4 kB / 0.9032 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2426, allocations: 4 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.2426, allocations: 27.95 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2427, allocations: 3.938 kB / 0.9032 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.2427, allocations: 37.58 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.2428, allocations: 19.97 kB / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2428, allocations: 0 / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2429, allocations: 0 / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2429, allocations: 0 / 0.9032 GB, free: 61.63 MB / 0.6042 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.0005238/0.2434, allocations: 343.8 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2434, allocations: 8.031 kB / 0.9036 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.2435, allocations: 0.9375 kB / 0.9036 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2436, allocations: 176.2 kB / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2437, allocations: 4.375 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2437, allocations: 384 / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.2439, allocations: 57.98 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2439, allocations: 4 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2439, allocations: 0 / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.244, allocations: 0 / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.2441, allocations: 47.91 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.2445, allocations: 252.9 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.2447, allocations: 42.56 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.2448, allocations: 28.89 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.2449, allocations: 85.09 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2449, allocations: 30.56 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2449, allocations: 0 / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003783/0.2453, allocations: 105.6 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2454, allocations: 51.41 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.2455, allocations: 110 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2455, allocations: 25.7 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.2455, allocations: 84.14 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.2456, allocations: 7.844 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.2456, allocations: 0 / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.2456, allocations: 314.8 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.2457, allocations: 27.97 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.2458, allocations: 19.98 kB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.246, allocations: 52.83 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.246, allocations: 7.875 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.2462, allocations: 81.56 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2462, allocations: 8 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2462, allocations: 0 / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2462, allocations: 4.031 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.2463, allocations: 12.23 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2463, allocations: 0 / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.2464, allocations: 12 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2464, allocations: 3.984 kB / 0.9052 GB, free: 59.43 MB / 0.6042 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 5.677e-05/0.2465, allocations: 109.8 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.2465, allocations: 4 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.2467, allocations: 88.72 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.2467, allocations: 0 / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2467, allocations: 0 / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2467, allocations: 0 / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2469, allocations: 165.6 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2469, allocations: 3.984 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.247, allocations: 8 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.247, allocations: 4 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.247, allocations: 3.984 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.247, allocations: 0 / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.247, allocations: 0 / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.2472, allocations: 179.4 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.2472, allocations: 85.02 kB / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2473, allocations: 0 / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.2474, allocations: 4 kB / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2474, allocations: 12.02 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.2474, allocations: 4 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.832e-05/0.2474, allocations: 79.28 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2475, allocations: 0 / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002004/0.2477, allocations: 11.94 kB / 0.9059 GB, free: 58.58 MB / 0.6042 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.0001526/0.2478, allocations: 103.2 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.248, allocations: 47.97 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.248, allocations: 0 / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.2481, allocations: 23.98 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2484, allocations: 22.33 kB / 0.9061 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.2487, allocations: 142.4 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.2488, allocations: 0.677 MB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.2488, allocations: 7.438 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2488, allocations: 0 / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.001764/0.2506, allocations: 0.6411 MB / 0.9075 GB, free: 56.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)