Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 178.2 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008406/0.0008408, allocations: 88.22 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 10 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001977/0.2473, allocations: 1.172 MB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005315/0.2479, allocations: 196.4 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.2479, allocations: 0 / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.248, allocations: 0 / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.248, allocations: 3.938 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.2483, allocations: 19.98 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.2484, allocations: 23.92 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2485, allocations: 3.984 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.2486, allocations: 15.92 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.2486, allocations: 11.94 kB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2487, allocations: 0 / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2488, allocations: 39.95 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2488, allocations: 4 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.2488, allocations: 33.64 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.529e-05/0.2489, allocations: 27.94 kB / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.249, allocations: 0 / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.249, allocations: 3.938 kB / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.249, allocations: 0 / 0.903 GB, free: 61.92 MB / 0.6042 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.0004431/0.2494, allocations: 351.5 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2495, allocations: 8.031 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.2495, allocations: 0.9375 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.2496, allocations: 176.5 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2496, allocations: 384 / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2497, allocations: 4.359 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2499, allocations: 54.25 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2499, allocations: 192 / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2499, allocations: 3.938 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2499, allocations: 4 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.2501, allocations: 43.95 kB / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.2504, allocations: 253 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.2506, allocations: 42.44 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.2507, allocations: 32.91 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-05/0.2508, allocations: 85.09 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2508, allocations: 30.56 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2508, allocations: 0 / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003534/0.2511, allocations: 105.6 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.2512, allocations: 55.34 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.2513, allocations: 97.86 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2513, allocations: 25.7 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.2513, allocations: 88.14 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.2514, allocations: 7.891 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2514, allocations: 4.125 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.2514, allocations: 310.8 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.2515, allocations: 23.98 kB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.2516, allocations: 15.98 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2518, allocations: 60.88 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2518, allocations: 0 / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.252, allocations: 85.45 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.252, allocations: 7.984 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.252, allocations: 0 / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.252, allocations: 0 / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.2521, allocations: 12 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2521, allocations: 0 / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.2522, allocations: 12.02 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2522, allocations: 0 / 0.9049 GB, free: 59.72 MB / 0.6042 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 6.328e-05/0.2523, allocations: 113.8 kB / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.2523, allocations: 0 / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.2525, allocations: 88.77 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2525, allocations: 7.922 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2525, allocations: 0 / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2526, allocations: 4 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.2527, allocations: 161.5 kB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2527, allocations: 256 / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.2527, allocations: 15.98 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2528, allocations: 0 / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.2528, allocations: 0 / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2528, allocations: 4.031 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2528, allocations: 4 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.253, allocations: 175.5 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.253, allocations: 81.02 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2531, allocations: 0 / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.2531, allocations: 15.92 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2532, allocations: 4 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.2532, allocations: 0 / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.2532, allocations: 87.27 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2532, allocations: 0 / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002102/0.2534, allocations: 8 kB / 0.9056 GB, free: 58.87 MB / 0.6042 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.0001484/0.2536, allocations: 111.2 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.2538, allocations: 47.95 kB / 0.9058 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2538, allocations: 0 / 0.9058 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.2539, allocations: 28.05 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2542, allocations: 3.938 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.2545, allocations: 138.4 kB / 0.9059 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2546, allocations: 0.677 MB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.2546, allocations: 15.5 kB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.273e-06/0.2546, allocations: 0 / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.002043/0.2567, allocations: 0.6596 MB / 0.9072 GB, free: 57.13 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)