Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.000885, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.001157/0.001157, allocations: 173 kB / 16.27 MB, free: 6.66 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 9.469 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3516, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001913/0.3535, allocations: 1.181 MB / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.3542, allocations: 151.6 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.3543, allocations: 3.938 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.319e-05/0.3543, allocations: 0 / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.3544, allocations: 7.938 kB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.3547, allocations: 23.97 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3549, allocations: 47.84 kB / 1.076 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3551, allocations: 12 kB / 1.076 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.3552, allocations: 15.92 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/0.3552, allocations: 15.92 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3553, allocations: 4 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3554, allocations: 23.98 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.3554, allocations: 15.97 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.3555, allocations: 37.58 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.3557, allocations: 55.86 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.3558, allocations: 3.938 kB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3558, allocations: 0 / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3558, allocations: 0 / 1.076 GB, free: 5.957 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007396/0.3565, allocations: 359.7 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/0.3566, allocations: 8.031 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.358, allocations: 244.5 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3582, allocations: 176.2 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3582, allocations: 4.375 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3583, allocations: 8.375 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.359, allocations: 206 kB / 1.077 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.359, allocations: 4.188 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.359, allocations: 7.938 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.359, allocations: 0 / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009588/0.36, allocations: 315.6 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.3611, allocations: 461 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.3623, allocations: 334.2 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.3627, allocations: 128.8 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3628, allocations: 0 / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3628, allocations: 30.56 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.3628, allocations: 0 / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0013/0.3641, allocations: 373.2 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3642, allocations: 51.41 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3643, allocations: 121.8 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.3643, allocations: 25.7 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.3644, allocations: 92.12 kB / 1.079 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3644, allocations: 19.91 kB / 1.079 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.3645, allocations: 9.719 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3646, allocations: 322.8 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.365, allocations: 115.9 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.3654, allocations: 120 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.3662, allocations: 208.6 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3662, allocations: 0 / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008228/0.367, allocations: 257.4 kB / 1.08 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.3671, allocations: 8 kB / 1.08 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3671, allocations: 0 / 1.08 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3671, allocations: 0 / 1.08 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.3674, allocations: 47.94 kB / 1.08 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3674, allocations: 0 / 1.08 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.3676, allocations: 35.95 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3676, allocations: 4 kB / 1.08 GB, free: 1.719 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 (3): * Single equations (assignments): 3 * 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 0.0001026/0.3677, allocations: 121.8 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.3678, allocations: 7.906 kB / 1.08 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.3678, allocations: 3.906 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3678, allocations: 0 / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3678, allocations: 0 / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3678, allocations: 4 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.3681, allocations: 213.5 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3681, allocations: 4 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.3684, allocations: 47.94 kB / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3684, allocations: 0 / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3684, allocations: 4 kB / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3684, allocations: 0 / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3684, allocations: 0 / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/0.3693, allocations: 351.2 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.3694, allocations: 85.02 kB / 1.08 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3694, allocations: 4 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.3696, allocations: 31.95 kB / 1.08 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.3697, allocations: 4 kB / 1.08 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.3697, allocations: 3.984 kB / 1.08 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.983e-05/0.3698, allocations: 107.5 kB / 1.081 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3698, allocations: 0 / 1.081 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000244/0.37, allocations: 16 kB / 1.081 GB, free: 0.6289 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 (3): * Single equations (assignments): 3 * 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.0001355/0.3702, allocations: 99.19 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.371, allocations: 235.7 kB / 1.081 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3711, allocations: 0 / 1.081 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.3715, allocations: 123.9 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.3718, allocations: 1.562 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3728, allocations: 300.8 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3731, allocations: 0.6887 MB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.109e-05/0.3732, allocations: 23.98 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.3733, allocations: 7.438 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.3733, allocations: 0 / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.003432/0.3767, allocations: 0.8382 MB / 1.083 GB, free: 14.26 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)