Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 198.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.33 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2995, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002458/0.302, allocations: 1.438 MB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003751/0.3024, allocations: 191.5 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.3024, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.3024, allocations: 7.922 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.3025, allocations: 7.922 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.3028, allocations: 31.91 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.3028, allocations: 23.94 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.3029, allocations: 11.98 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.303, allocations: 3.938 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.303, allocations: 19.91 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.303, allocations: 4 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.3031, allocations: 31.97 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.3031, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.3032, allocations: 11.92 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.3033, allocations: 47.81 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3033, allocations: 4 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3033, allocations: 4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3033, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 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.0004191/0.3037, allocations: 343.7 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3038, allocations: 12.03 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3038, allocations: 0.9375 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3039, allocations: 168.4 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3039, allocations: 384 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.3039, allocations: 384 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3041, allocations: 50.25 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3041, allocations: 4.172 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3042, allocations: 3.938 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3042, allocations: 0 / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.3043, allocations: 35.91 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.3046, allocations: 248.9 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3048, allocations: 42.5 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.3049, allocations: 24.91 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.529e-05/0.305, allocations: 85.09 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.305, allocations: 30.56 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.206e-06/0.305, allocations: 0 / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003491/0.3054, allocations: 93.56 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.3054, allocations: 51.41 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.3055, allocations: 97.86 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3055, allocations: 29.7 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.3055, allocations: 88.12 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.3055, allocations: 3.906 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3056, allocations: 13.84 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.3057, allocations: 314.8 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.3058, allocations: 19.92 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.3059, allocations: 19.97 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.306, allocations: 40.77 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.306, allocations: 8.312 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.3062, allocations: 65.59 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3063, allocations: 8 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3063, allocations: 4 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3063, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.3064, allocations: 7.984 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3064, allocations: 3.984 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.3064, allocations: 4 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3065, allocations: 8.031 kB / 1.072 GB, free: 6.457 MB / 0.8262 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 8.544e-05/0.3065, allocations: 113.8 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3066, allocations: 11.83 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.3068, allocations: 72.72 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3068, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3068, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3068, allocations: 4.031 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.307, allocations: 165.5 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.307, allocations: 3.984 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.3071, allocations: 8 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3071, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3071, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3071, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3071, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.3073, allocations: 167.4 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.3074, allocations: 81.09 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.3074, allocations: 0 / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.3075, allocations: 8 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.3075, allocations: 3.984 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3075, allocations: 4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.3076, allocations: 79.28 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3076, allocations: 4.031 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002302/0.3078, allocations: 8 kB / 1.073 GB, free: 5.633 MB / 0.8262 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.0001359/0.3079, allocations: 111.8 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.3082, allocations: 35.91 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3082, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.3083, allocations: 23.92 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.3086, allocations: 17.3 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.3088, allocations: 105.4 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.309, allocations: 0.6768 MB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.309, allocations: 4 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.3091, allocations: 7.438 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3091, allocations: 0 / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of Templates: time 0.002535/0.3116, allocations: 0.5923 MB / 1.074 GB, free: 4.004 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)