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.696/1.696, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.0009229/0.0009228, allocations: 178.6 kB / 326.5 MB, free: 2.727 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.784/1.784, allocations: 205 MB / 0.5766 GB, free: 21.05 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.001043/0.001044, allocations: 82.69 kB / 0.6803 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 11.75 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 105.4 MB / 0.8967 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002638/0.2987, allocations: 1.172 MB / 0.8979 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3, allocations: 0.5096 MB / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.3001, allocations: 0 / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.319e-05/0.3002, allocations: 7.922 kB / 0.8984 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3003, allocations: 0 / 0.8984 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.3006, allocations: 23.91 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.3007, allocations: 20 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3008, allocations: 3.984 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.3009, allocations: 11.94 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.301, allocations: 15.92 kB / 0.8985 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.301, allocations: 0 / 0.8985 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.3011, allocations: 19.98 kB / 0.8985 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3012, allocations: 4 kB / 0.8985 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.3012, allocations: 7.922 kB / 0.8985 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.3013, allocations: 27.91 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3013, allocations: 0 / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3013, allocations: 0 / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.3014, allocations: 0 / 0.8985 GB, free: 66.41 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.0005572/0.3019, allocations: 343.5 kB / 0.8988 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.302, allocations: 15.95 kB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.302, allocations: 0.9375 kB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3022, allocations: 176.2 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3022, allocations: 384 / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3022, allocations: 384 / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.3025, allocations: 61.98 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3025, allocations: 0 / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3025, allocations: 0 / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3025, allocations: 4 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.3027, allocations: 43.95 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.3031, allocations: 252.9 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.3033, allocations: 42.5 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.3034, allocations: 36.89 kB / 0.8995 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.3035, allocations: 81.11 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3035, allocations: 34.55 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.3035, allocations: 0 / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003684/0.3039, allocations: 101.6 kB / 0.8997 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.304, allocations: 55.34 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.304, allocations: 101.8 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.3041, allocations: 29.7 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.3041, allocations: 80.14 kB / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.3042, allocations: 7.906 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.3042, allocations: 13.84 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.3043, allocations: 318.8 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.3044, allocations: 23.92 kB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.3044, allocations: 19.98 kB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3046, allocations: 56.81 kB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3046, allocations: 0 / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.3048, allocations: 85.52 kB / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3048, allocations: 8 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3048, allocations: 0 / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3048, allocations: 0 / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.3049, allocations: 11.98 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.305, allocations: 4.234 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.305, allocations: 16.02 kB / 0.9005 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.305, allocations: 7.938 kB / 0.9005 GB, free: 64.18 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 6.42e-05/0.3051, allocations: 109.8 kB / 0.9006 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.3051, allocations: 4 kB / 0.9006 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.3054, allocations: 84.78 kB / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3054, allocations: 0 / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3054, allocations: 0 / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3054, allocations: 0 / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3055, allocations: 165.6 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3055, allocations: 3.938 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.3056, allocations: 11.98 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3056, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3056, allocations: 8.031 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3056, allocations: 0 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3056, allocations: 0 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.3059, allocations: 175.5 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.3059, allocations: 85.02 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3059, allocations: 0 / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.306, allocations: 7.984 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3061, allocations: 4 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3061, allocations: 0 / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.84e-05/0.3061, allocations: 83.28 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3061, allocations: 0 / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002131/0.3063, allocations: 12.02 kB / 0.9012 GB, free: 63.34 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.0001754/0.3065, allocations: 107.2 kB / 0.9013 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3067, allocations: 43.97 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3067, allocations: 64 / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.3068, allocations: 31.97 kB / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3071, allocations: 9.656 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.3075, allocations: 136.9 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.3076, allocations: 0.681 MB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.3076, allocations: 11.44 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.3076, allocations: 0 / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of Templates: time 0.002285/0.3099, allocations: 0.6342 MB / 0.9028 GB, free: 61.62 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)