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.307/1.307, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009632/0.0009631, allocations: 186.9 kB / 327.6 MB, free: 2.152 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.402/1.402, allocations: 205.4 MB / 0.5785 GB, free: 20.52 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.0007203/0.0007203, allocations: 86.58 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003227, allocations: 13.38 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1714, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.319, allocations: 131.8 MB / 1.03 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.3193, allocations: 75.95 kB / 1.03 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003857/0.3232, allocations: 1.359 MB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3232, allocations: 0 / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.3232, allocations: 0 / 1.031 GB, free: 10.67 MB / 0.6823 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.0003866/0.3236, allocations: 364 kB / 1.032 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3237, allocations: 8.031 kB / 1.032 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.3237, allocations: 4.938 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3238, allocations: 168.2 kB / 1.032 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3238, allocations: 384 / 1.032 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3239, allocations: 4.375 kB / 1.032 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.324, allocations: 54.23 kB / 1.032 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3241, allocations: 4.188 kB / 1.032 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3241, allocations: 3.938 kB / 1.032 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3241, allocations: 0 / 1.032 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3242, allocations: 47.95 kB / 1.032 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3246, allocations: 272.9 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3248, allocations: 46.5 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.3249, allocations: 26.59 kB / 1.032 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.702e-05/0.325, allocations: 81.11 kB / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.325, allocations: 34.55 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.325, allocations: 0 / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003363/0.3253, allocations: 101.6 kB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3254, allocations: 55.39 kB / 1.033 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.3255, allocations: 97.86 kB / 1.033 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3255, allocations: 29.7 kB / 1.033 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.3255, allocations: 84.27 kB / 1.033 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3256, allocations: 15.88 kB / 1.033 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.3256, allocations: 0 / 1.033 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3257, allocations: 314.8 kB / 1.033 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.3258, allocations: 19.98 kB / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.3259, allocations: 23.98 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.326, allocations: 52.81 kB / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.326, allocations: 0 / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.3262, allocations: 81.61 kB / 1.033 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3262, allocations: 7.938 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3262, allocations: 3.984 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3263, allocations: 4 kB / 1.033 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.3263, allocations: 8 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3263, allocations: 4.031 kB / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.3264, allocations: 11.89 kB / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3264, allocations: 4 kB / 1.033 GB, free: 8.438 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.387e-05/0.3265, allocations: 109.8 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.3265, allocations: 4 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.3268, allocations: 96.62 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3268, allocations: 4 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3268, allocations: 0 / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3268, allocations: 0 / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3269, allocations: 157.6 kB / 1.034 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.327, allocations: 0 / 1.034 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.327, allocations: 11.98 kB / 1.034 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.327, allocations: 4.031 kB / 1.034 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.3271, allocations: 0 / 1.034 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3271, allocations: 4 kB / 1.034 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3271, allocations: 0 / 1.034 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3273, allocations: 175.5 kB / 1.034 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.3273, allocations: 81.02 kB / 1.034 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3274, allocations: 4 kB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.3275, allocations: 7.984 kB / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3275, allocations: 8.188 kB / 1.034 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3275, allocations: 4 kB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.3276, allocations: 87.27 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3276, allocations: 4.031 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002139/0.3278, allocations: 15.94 kB / 1.034 GB, free: 7.574 MB / 0.6823 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 (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.0001532/0.3279, allocations: 110.2 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3282, allocations: 55.95 kB / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3282, allocations: 0 / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.3283, allocations: 19.98 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3285, allocations: 16.27 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.3288, allocations: 120.7 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.3291, allocations: 0.677 MB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.3291, allocations: 0 / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.3291, allocations: 7.438 kB / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.3291, allocations: 0 / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.002267/0.3314, allocations: 493.7 kB / 1.035 GB, free: 6.039 MB / 0.6823 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)