Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 293 MB / 309 MB, free: 4.828 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001217, allocations: 174.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 0.6383 GB, free: 8.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007275/0.0007276, allocations: 91.8 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004078, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2274, allocations: 116.4 MB / 0.9905 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5822/0.8096, allocations: 139 MB / 1.126 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.8098, allocations: 78.81 kB / 1.126 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001843/0.8117, allocations: 0.8505 MB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8117, allocations: 1 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.8117, allocations: 0 / 1.127 GB, free: 33.96 MB / 0.7292 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.0001606/0.8119, allocations: 315.8 kB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8119, allocations: 8.656 kB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.812, allocations: 10.47 kB / 1.127 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.84e-05/0.812, allocations: 167.7 kB / 1.128 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.812, allocations: 2.094 kB / 1.128 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.8121, allocations: 4.094 kB / 1.128 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.344e-05/0.8122, allocations: 34.45 kB / 1.128 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8122, allocations: 0.7812 kB / 1.128 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.8122, allocations: 13.81 kB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.8122, allocations: 0.7969 kB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.8122, allocations: 7.938 kB / 1.128 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.514e-05/0.8123, allocations: 149.8 kB / 1.128 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.8125, allocations: 32.09 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.8125, allocations: 12.86 kB / 1.128 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.8126, allocations: 85.23 kB / 1.128 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.8126, allocations: 32.31 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8126, allocations: 0 / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.003517/0.8162, allocations: 0.5808 MB / 1.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.8162, allocations: 51.41 kB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.599e-05/0.8162, allocations: 89.86 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.8162, allocations: 25.7 kB / 1.129 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.138e-05/0.8162, allocations: 80.14 kB / 1.129 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.8163, allocations: 20.31 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.8163, allocations: 0 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.8163, allocations: 314.4 kB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.8169, allocations: 86.27 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.8173, allocations: 101.6 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/0.8183, allocations: 187.9 kB / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.8183, allocations: 0.5625 kB / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000971/0.8193, allocations: 212.8 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.8193, allocations: 11.94 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8193, allocations: 3.422 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.8193, allocations: 0 / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.8196, allocations: 50.83 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8196, allocations: 0.75 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.8199, allocations: 47.08 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.82, allocations: 0.6875 kB / 1.13 GB, free: 31.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.82, allocations: 109.8 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.82, allocations: 7.938 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.8212, allocations: 238.5 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8212, allocations: 0 / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8212, allocations: 4.5 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8212, allocations: 0.6562 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.8224, allocations: 461.6 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8224, allocations: 0 / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.8227, allocations: 55.36 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8227, allocations: 0.7969 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.8227, allocations: 0 / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8227, allocations: 4.5 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8227, allocations: 0.5625 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.8237, allocations: 300.3 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.8237, allocations: 77.11 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.8237, allocations: 8 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.824, allocations: 38.98 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.8241, allocations: 8.812 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.8241, allocations: 1.031 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.437e-05/0.8241, allocations: 78.89 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.8241, allocations: 0 / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002299/0.8243, allocations: 19.31 kB / 1.131 GB, free: 29.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.8245, allocations: 104 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009933/0.8255, allocations: 180.2 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8255, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.826, allocations: 89.89 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.8262, allocations: 7.938 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.8271, allocations: 217.2 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.8272, allocations: 0.6773 MB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.8274, allocations: 32 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.8275, allocations: 7.438 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.8275, allocations: 0 / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.00237/0.8299, allocations: 0.7953 MB / 1.133 GB, free: 28.17 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)