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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 196.2 kB / 16.14 MB, free: 6.688 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 68.2 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3082, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002348/0.3106, allocations: 1.508 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003974/0.311, allocations: 203.5 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.3111, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.3111, allocations: 4 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.3111, allocations: 11.88 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.3113, allocations: 19.98 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.3114, allocations: 19.92 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.3115, allocations: 8 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.3115, allocations: 7.984 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.3115, allocations: 15.92 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.3116, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.3116, allocations: 35.95 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.3117, allocations: 4 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.3117, allocations: 11.94 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.324e-05/0.3118, allocations: 39.88 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3118, allocations: 3.984 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.61e-07/0.3118, allocations: 4 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.3118, allocations: 0 / 1.069 GB, free: 9.027 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.0003757/0.3122, allocations: 339.7 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3122, allocations: 12.03 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.3123, allocations: 0.9375 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.569e-05/0.3124, allocations: 172.3 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.3124, allocations: 384 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.3124, allocations: 384 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.3125, allocations: 50.23 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.3126, allocations: 4.125 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3126, allocations: 3.938 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.3126, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3128, allocations: 35.95 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.313, allocations: 252.9 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3132, allocations: 42.42 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.3133, allocations: 24.91 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.3133, allocations: 77.11 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3134, allocations: 38.56 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3134, allocations: 3.938 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003314/0.3137, allocations: 85.58 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3138, allocations: 51.41 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.3138, allocations: 105.8 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3138, allocations: 29.83 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.3139, allocations: 88.14 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.3139, allocations: 3.906 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.3139, allocations: 13.72 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.314, allocations: 318.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.3141, allocations: 11.98 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.3142, allocations: 19.98 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3144, allocations: 40.88 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3144, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.3146, allocations: 69.55 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3146, allocations: 4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3146, allocations: 4 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.3146, allocations: 32 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.3147, allocations: 11.98 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3147, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.3148, allocations: 7.984 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.3148, allocations: 0 / 1.071 GB, free: 6.898 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 6.148e-05/0.3149, allocations: 117.8 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3149, allocations: 3.906 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3151, allocations: 76.77 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3151, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3151, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3151, allocations: 3.984 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3153, allocations: 173.5 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3153, allocations: 4 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.3154, allocations: 7.984 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3154, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3154, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3154, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3154, allocations: 11.97 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.3156, allocations: 159.5 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.3157, allocations: 85.05 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.3157, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.3158, allocations: 7.984 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.3158, allocations: 4.031 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3158, allocations: 256 / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.3158, allocations: 87.27 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3158, allocations: 4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002256/0.3161, allocations: 16 kB / 1.072 GB, free: 6.051 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.0001486/0.3162, allocations: 103.2 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3164, allocations: 43.95 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3164, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.3165, allocations: 19.98 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3168, allocations: 3.938 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.317, allocations: 111.2 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.3173, allocations: 0.6811 MB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.3173, allocations: 4 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.3173, allocations: 11.38 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3173, allocations: 0 / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of Templates: time 0.00221/0.3195, allocations: 0.5099 MB / 1.073 GB, free: 4.508 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)