Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002/0.002001, allocations: 193.2 kB / 16.13 MB, free: 6.668 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7447 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 69.78 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3405, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002022/0.3426, allocations: 0.6649 MB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004558/0.3431, allocations: 165.7 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.3431, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.3431, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.068e-05/0.3431, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3434, allocations: 27.92 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.338e-05/0.3435, allocations: 7.984 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.3435, allocations: 11.98 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.3436, allocations: 7.938 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.3436, allocations: 11.92 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.3436, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.372e-05/0.3437, allocations: 35.97 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.3438, allocations: 11.94 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.3438, allocations: 11.97 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.252e-05/0.3439, allocations: 23.91 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3439, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.12e-07/0.3439, allocations: 4 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.3439, allocations: 0 / 1.068 GB, free: 9.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003983/0.3443, allocations: 327.6 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3444, allocations: 12.03 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.3444, allocations: 0.9375 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3445, allocations: 168.4 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3445, allocations: 8.375 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.3446, allocations: 8.281 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3447, allocations: 46.19 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3447, allocations: 192 / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3447, allocations: 7.938 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3448, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.3448, allocations: 15.98 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.345, allocations: 165.9 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.3451, allocations: 46.62 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.3451, allocations: 20.92 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.966e-05/0.3452, allocations: 85.09 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.3453, allocations: 34.56 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3453, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001287/0.3466, allocations: 476 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.3466, allocations: 55.41 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.3467, allocations: 101.8 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3467, allocations: 25.7 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.3468, allocations: 80.14 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.3468, allocations: 27.64 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.3468, allocations: 17.72 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.347, allocations: 318.8 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.347, allocations: 16.11 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.347, allocations: 24.42 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.604e-05/0.3471, allocations: 36.86 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3471, allocations: 0 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001161/0.3472, allocations: 65.59 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3473, allocations: 7.938 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3473, allocations: 4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3473, allocations: 4 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.3474, allocations: 15.98 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3474, allocations: 3.938 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.3474, allocations: 8 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3474, allocations: 0 / 1.071 GB, free: 7.484 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 (8): * Single equations (assignments): 8 * 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.012e-05/0.3475, allocations: 113.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.3475, allocations: 7.875 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.3477, allocations: 81.62 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3477, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3477, allocations: 3.984 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3477, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.3479, allocations: 165.7 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3479, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.348, allocations: 19.92 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.348, allocations: 3.938 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.348, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.348, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.348, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3482, allocations: 109.1 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.3482, allocations: 93 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3483, allocations: 4.031 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.635e-05/0.3483, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.3483, allocations: 15.92 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3483, allocations: 3.938 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.3484, allocations: 79.28 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3484, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002197/0.3486, allocations: 32 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002222/0.3488, allocations: 131.3 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.349, allocations: 35.98 kB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.349, allocations: 0 / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.349, allocations: 28.47 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.3492, allocations: 4 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.3495, allocations: 159.1 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3498, allocations: 0.6867 MB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.3498, allocations: 8.141 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.3498, allocations: 11.44 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3498, allocations: 0 / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.00288/0.3527, allocations: 0.8585 MB / 1.073 GB, free: 4.691 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)