Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001172/0.001172, allocations: 180.6 kB / 371.6 MB, free: 3.379 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.872/1.872, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009532/0.0009532, allocations: 94.86 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.03e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3235, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9853/1.309, allocations: 138.9 MB / 1.115 GB, free: 44.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/1.309, allocations: 70.06 kB / 1.116 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003195/1.312, allocations: 1.335 MB / 1.117 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/1.312, allocations: 0.8438 kB / 1.117 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.609e-06/1.312, allocations: 4 kB / 1.117 GB, free: 43.89 MB / 0.7448 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.0002654/1.313, allocations: 342.4 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/1.313, allocations: 12.59 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/1.313, allocations: 4.562 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/1.313, allocations: 171 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/1.313, allocations: 0.5 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/1.313, allocations: 3.266 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.284e-05/1.313, allocations: 42.08 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/1.313, allocations: 3.172 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/1.313, allocations: 5.125 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/1.313, allocations: 0 / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.97e-05/1.313, allocations: 7.938 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/1.313, allocations: 270.5 kB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/1.313, allocations: 30.08 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/1.313, allocations: 13.33 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/1.314, allocations: 81.11 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/1.314, allocations: 37.78 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.314, allocations: 0 / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001154/1.314, allocations: 41.39 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/1.314, allocations: 59.34 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.17e-05/1.314, allocations: 93.62 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/1.314, allocations: 25.7 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/1.314, allocations: 84.08 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/1.314, allocations: 12.56 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/1.314, allocations: 0 / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/1.314, allocations: 318.3 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/1.314, allocations: 7.75 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/1.314, allocations: 4 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.632e-05/1.314, allocations: 7.812 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.314, allocations: 0 / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.851e-05/1.314, allocations: 41.16 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/1.314, allocations: 12.09 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/1.314, allocations: 0 / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/1.314, allocations: 0 / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/1.314, allocations: 15.5 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/1.314, allocations: 0 / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/1.314, allocations: 11.28 kB / 1.119 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-06/1.314, allocations: 0.5 kB / 1.119 GB, free: 42.06 MB / 0.7448 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 3.568e-05/1.314, allocations: 111.1 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/1.314, allocations: 8.031 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/1.314, allocations: 51.8 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/1.314, allocations: 0 / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/1.314, allocations: 0 / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-06/1.314, allocations: 0 / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/1.314, allocations: 169.7 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.314, allocations: 0.75 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/1.315, allocations: 8.031 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.315, allocations: 4 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/1.315, allocations: 4.203 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.315, allocations: 4.875 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.315, allocations: 0 / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.533e-05/1.315, allocations: 140.3 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/1.315, allocations: 80.48 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/1.315, allocations: 4.562 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/1.315, allocations: 8.031 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/1.315, allocations: 4.125 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/1.315, allocations: 4 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.045e-05/1.315, allocations: 83.84 kB / 1.119 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.315, allocations: 0 / 1.119 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002123/1.315, allocations: 15.94 kB / 1.119 GB, free: 41.33 MB / 0.7448 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.0001234/1.315, allocations: 106.7 kB / 1.119 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.135e-05/1.315, allocations: 23.88 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/1.315, allocations: 0 / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.789e-05/1.315, allocations: 7.938 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/1.316, allocations: 5.312 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/1.316, allocations: 66.47 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/1.316, allocations: 0.6798 MB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.38e-05/1.316, allocations: 8.125 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/1.316, allocations: 7.438 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/1.316, allocations: 0.5625 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.001952/1.318, allocations: 478.2 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)