Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0007238/0.0007238, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001788, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007182/0.0007182, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009961/0.001714, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08801/1.094, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.841/1.841, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4961/2.338, allocations: 127.1 MB / 0.7435 GB, free: 4.52 MB / 0.7136 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.9844 kB / 0.7449 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.014e-05, allocations: 4.281 kB / 0.7449 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001562/0.001582, allocations: 0.6588 MB / 0.7455 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.002807, allocations: 1.171 MB / 0.7467 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.002825, allocations: 0 / 0.7467 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-06/0.002829, allocations: 3.938 kB / 0.7467 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.002929, allocations: 16.86 kB / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.002932, allocations: 0 / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.915e-05/0.002971, allocations: 11.83 kB / 0.7467 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.003006, allocations: 0 / 0.7467 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.003034, allocations: 6.188 kB / 0.7467 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.77e-05/0.003062, allocations: 0 / 0.7467 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.006e-06/0.00307, allocations: 1.453 kB / 0.7467 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.006186, allocations: 21.06 kB / 0.7467 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.006196, allocations: 1.094 kB / 0.7467 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-06/0.006206, allocations: 7.281 kB / 0.7467 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.842e-05/0.006284, allocations: 5.312 kB / 0.7467 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.006297, allocations: 3.984 kB / 0.7467 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.006298, allocations: 0 / 0.7467 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.00631, allocations: 0.6562 kB / 0.7467 GB, free: 1.262 MB / 0.7136 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.0002264/0.006537, allocations: 220.7 kB / 0.7469 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.00657, allocations: 12.03 kB / 0.747 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.006846, allocations: 94.02 kB / 0.747 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.51e-05/0.006911, allocations: 106.4 kB / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.006921, allocations: 5.25 kB / 0.7472 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.00694, allocations: 1.062 kB / 0.7472 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.698e-05/0.007017, allocations: 38.77 kB / 0.7472 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.007026, allocations: 192 / 0.7472 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.007032, allocations: 1 kB / 0.7472 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.007039, allocations: 3.938 kB / 0.7472 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.007062, allocations: 4.594 kB / 0.7472 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.18e-05/0.007154, allocations: 66.53 kB / 0.7473 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.007282, allocations: 35.53 kB / 0.7473 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.007294, allocations: 4.859 kB / 0.7473 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.007308, allocations: 4.969 kB / 0.7473 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.007329, allocations: 30.56 kB / 0.7473 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.007329, allocations: 0 / 0.7473 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0009122/0.008242, allocations: 252 kB / 0.7476 GB, free: 316 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.00827, allocations: 51.41 kB / 0.7476 GB, free: 252 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.251e-05/0.008303, allocations: 99.02 kB / 0.7477 GB, free: 144 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.008319, allocations: 25.7 kB / 0.7477 GB, free: 112 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.008342, allocations: 82.84 kB / 0.7478 GB, free: 28 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.008378, allocations: 12.55 kB / 0.7478 GB, free: 16 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.008442, allocations: 25.7 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002291/0.008671, allocations: 312 kB / 0.7482 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.008717, allocations: 5.219 kB / 0.7482 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.008768, allocations: 28.81 kB / 0.7482 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.869e-05/0.008867, allocations: 43.61 kB / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008868, allocations: 0 / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001297/0.008998, allocations: 52.72 kB / 0.7483 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003021/0.01202, allocations: 8 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01203, allocations: 0.5312 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01204, allocations: 1.719 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.01224, allocations: 41.41 kB / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.01224, allocations: 0 / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01234, allocations: 26.67 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.01235, allocations: 4 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.064e-05/0.01242, allocations: 111.1 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.01244, allocations: 4.422 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.01249, allocations: 11.09 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01249, allocations: 1.5 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01249, allocations: 4.641 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01249, allocations: 3.938 kB / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.01278, allocations: 206.1 kB / 0.7487 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01278, allocations: 1.812 kB / 0.7487 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.01294, allocations: 38.42 kB / 0.7487 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.01295, allocations: 3.953 kB / 0.7487 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01295, allocations: 0.875 kB / 0.7487 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01297, allocations: 7.922 kB / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01297, allocations: 0 / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01297, allocations: 4 kB / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.01312, allocations: 139 kB / 0.7489 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01314, allocations: 8 kB / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.01327, allocations: 24.3 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.01329, allocations: 3.938 kB / 0.7489 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01329, allocations: 0.9844 kB / 0.7489 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.556e-05/0.01331, allocations: 12.84 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01331, allocations: 0 / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001918/0.0135, allocations: 4 kB / 0.7489 GB, free: 14.85 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 (5): * Single equations (assignments): 5 * 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.0001647/0.01367, allocations: 87.45 kB / 0.749 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.0138, allocations: 24.25 kB / 0.749 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.01381, allocations: 0 / 0.749 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.01387, allocations: 31.12 kB / 0.7491 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.01402, allocations: 5.406 kB / 0.7491 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.01435, allocations: 128.1 kB / 0.7492 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.01439, allocations: 56.42 kB / 0.7492 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.01454, allocations: 33.52 kB / 0.7493 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.01464, allocations: 52.41 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.01464, allocations: 0 / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.005481/0.02013, allocations: 0.8803 MB / 0.7502 GB, free: 13.57 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.905230322852731]