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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009433, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009157/0.0009158, allocations: 198.5 kB / 16.14 MB, free: 6.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 222 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.316/1.316, allocations: 251.6 MB / 0.5088 GB, free: 3.383 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.92 kB / 0.6215 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3698, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002304/0.3722, allocations: 1.503 MB / 0.7253 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.3728, allocations: 0.508 MB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.3729, allocations: 0 / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.3729, allocations: 4 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.373, allocations: 0 / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3731, allocations: 15.92 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.3732, allocations: 31.92 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.3733, allocations: 4 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.3733, allocations: 7.938 kB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.3734, allocations: 11.97 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3734, allocations: 8 kB / 0.7258 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.995e-05/0.3735, allocations: 15.98 kB / 0.7259 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.3735, allocations: 11.92 kB / 0.7259 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.3735, allocations: 7.938 kB / 0.7259 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.3736, allocations: 31.89 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3736, allocations: 0 / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.11e-07/0.3736, allocations: 0 / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.3736, allocations: 0 / 0.7259 GB, free: 11 MB / 0.545 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.0003566/0.374, allocations: 345.5 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.374, allocations: 12.03 kB / 0.7262 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.374, allocations: 8.844 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.3741, allocations: 168.3 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3741, allocations: 384 / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3742, allocations: 4.312 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3743, allocations: 57.97 kB / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.3743, allocations: 0 / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3743, allocations: 4 kB / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3743, allocations: 0 / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3745, allocations: 39.89 kB / 0.7265 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.3748, allocations: 252.9 kB / 0.7268 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3749, allocations: 34.56 kB / 0.7268 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.375, allocations: 24.89 kB / 0.7268 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3751, allocations: 81.11 kB / 0.7269 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3751, allocations: 34.56 kB / 0.7269 GB, free: 9.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3751, allocations: 0 / 0.7269 GB, free: 9.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003106/0.3754, allocations: 85.48 kB / 0.727 GB, free: 9.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3755, allocations: 51.53 kB / 0.7271 GB, free: 9.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.3756, allocations: 109.8 kB / 0.7272 GB, free: 9.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.3756, allocations: 25.7 kB / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.3756, allocations: 84.14 kB / 0.7273 GB, free: 9.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.3756, allocations: 11.84 kB / 0.7273 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.3757, allocations: 9.719 kB / 0.7273 GB, free: 9.359 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.3757, allocations: 322.8 kB / 0.7276 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.3758, allocations: 11.98 kB / 0.7276 GB, free: 9.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.3759, allocations: 19.98 kB / 0.7276 GB, free: 9.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.376, allocations: 44.75 kB / 0.7277 GB, free: 8.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.376, allocations: 0 / 0.7277 GB, free: 8.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.3762, allocations: 65.61 kB / 0.7277 GB, free: 8.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3762, allocations: 8.094 kB / 0.7277 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3763, allocations: 3.984 kB / 0.7277 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3763, allocations: 0 / 0.7277 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.3764, allocations: 11.98 kB / 0.7278 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3764, allocations: 0 / 0.7278 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3764, allocations: 7.984 kB / 0.7278 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.3764, allocations: 0 / 0.7278 GB, free: 8.855 MB / 0.545 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.907e-05/0.3765, allocations: 117.8 kB / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.3765, allocations: 0 / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.3767, allocations: 80.72 kB / 0.728 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3767, allocations: 3.938 kB / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3767, allocations: 0 / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3768, allocations: 3.984 kB / 0.728 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.3769, allocations: 157.6 kB / 0.7281 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3769, allocations: 0 / 0.7281 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.3769, allocations: 12.23 kB / 0.7281 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.377, allocations: 4.031 kB / 0.7281 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.377, allocations: 4 kB / 0.7281 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.377, allocations: 0 / 0.7281 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.377, allocations: 0 / 0.7281 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.3772, allocations: 167.4 kB / 0.7283 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.3772, allocations: 81.05 kB / 0.7284 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.3772, allocations: 8.031 kB / 0.7284 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.3773, allocations: 7.984 kB / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.3773, allocations: 0 / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3774, allocations: 0 / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.3774, allocations: 87.27 kB / 0.7285 GB, free: 8.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3774, allocations: 0 / 0.7285 GB, free: 8.039 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000205/0.3776, allocations: 15.94 kB / 0.7285 GB, free: 8.023 MB / 0.545 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.0001087/0.3777, allocations: 95.25 kB / 0.7286 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3779, allocations: 43.95 kB / 0.7286 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3779, allocations: 0 / 0.7286 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.378, allocations: 19.98 kB / 0.7286 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3783, allocations: 11.88 kB / 0.7286 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/0.3785, allocations: 123.3 kB / 0.7288 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.3787, allocations: 0.677 MB / 0.7294 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.3787, allocations: 0 / 0.7294 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.3787, allocations: 7.438 kB / 0.7294 GB, free: 6.988 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.3787, allocations: 0 / 0.7294 GB, free: 6.988 MB / 0.545 GB Notification: Performance of Templates: time 0.002083/0.3808, allocations: 0.4989 MB / 0.7299 GB, free: 6.5 MB / 0.545 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)