Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001106/0.001107, allocations: 180.9 kB / 361.4 MB, free: 6.84 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.644/1.644, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008426/0.0008426, allocations: 96.8 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.814e-05, allocations: 4 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.722/0.722, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.9311, allocations: 137.7 MB / 1.099 GB, free: 2.156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.9314, allocations: 77.17 kB / 1.099 GB, free: 2.082 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003396/0.9349, allocations: 1.062 MB / 1.1 GB, free: 1.035 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9349, allocations: 4.609 kB / 1.1 GB, free: 1.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.9349, allocations: 0 / 1.1 GB, free: 1.035 MB / 0.698 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.0004506/0.9354, allocations: 343.2 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.9354, allocations: 8.562 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.9355, allocations: 5.531 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.9357, allocations: 174.5 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.9357, allocations: 1.594 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.9357, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.402e-05/0.9358, allocations: 12 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.9359, allocations: 38.39 kB / 1.101 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.936, allocations: 0.5938 kB / 1.101 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.936, allocations: 0.6562 kB / 1.101 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.936, allocations: 0 / 1.101 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.9365, allocations: 247.6 kB / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.979e-05/0.9366, allocations: 32.09 kB / 1.101 GB, free: 68 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.9366, allocations: 9.547 kB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.9368, allocations: 79.08 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.9368, allocations: 35.44 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.424e-06/0.9368, allocations: 0.6562 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002674/0.9371, allocations: 49.67 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.9371, allocations: 56.12 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.9372, allocations: 89.69 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.9373, allocations: 26.3 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.9373, allocations: 88.86 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.9373, allocations: 3.906 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.9374, allocations: 4.359 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9375, allocations: 319.3 kB / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.9375, allocations: 8.812 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.9375, allocations: 4 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.9376, allocations: 20.44 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9376, allocations: 1 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.9378, allocations: 46.62 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.9378, allocations: 8.875 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9378, allocations: 0 / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.9379, allocations: 4.547 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.938, allocations: 11.98 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.938, allocations: 0 / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.938, allocations: 19.95 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.9381, allocations: 4 kB / 1.102 GB, free: 15.13 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.9381, allocations: 104.9 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.9382, allocations: 0 / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.9383, allocations: 68.36 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9384, allocations: 0 / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9384, allocations: 3.312 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9384, allocations: 0 / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.9385, allocations: 130.2 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9385, allocations: 4.031 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.9386, allocations: 15.98 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.9386, allocations: 7.953 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.9386, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9386, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9387, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.9389, allocations: 147.5 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.9389, allocations: 85.05 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.9389, allocations: 3.953 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.939, allocations: 14.55 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.9391, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.9391, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.9391, allocations: 83.28 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.773e-06/0.9391, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002071/0.9394, allocations: 11.94 kB / 1.102 GB, free: 14.39 MB / 0.7136 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 () * 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 (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.0001904/0.9396, allocations: 115 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.767e-05/0.9397, allocations: 12 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9397, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-05/0.9397, allocations: 8 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.9399, allocations: 1.812 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.9401, allocations: 66.34 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.9404, allocations: 0.6846 MB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.9404, allocations: 4 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.9404, allocations: 8.094 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9404, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of Templates: time 0.002351/0.9428, allocations: 453.3 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)