Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.038/2.038, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 187.5 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009284/0.0009285, allocations: 118.1 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009999/0.001, allocations: 51.7 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.24, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002452/0.2425, allocations: 1.515 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0003553/0.2429, allocations: 152.3 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.243, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.243, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.2431, allocations: 3.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.2433, allocations: 19.98 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.2434, allocations: 39.91 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2435, allocations: 27.98 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.2435, allocations: 11.92 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.2436, allocations: 27.86 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2436, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.2437, allocations: 27.97 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.2437, allocations: 8 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.2437, allocations: 19.86 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2438, allocations: 59.86 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2438, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2438, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.696e-06/0.2439, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 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.000366/0.2442, allocations: 366.4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2443, allocations: 11.98 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/0.2452, allocations: 220.5 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.2453, allocations: 168.2 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.2453, allocations: 4.375 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.2453, allocations: 384 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.2458, allocations: 194 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.2458, allocations: 192 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2458, allocations: 3.938 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2458, allocations: 7.938 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.2465, allocations: 283.6 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007144/0.2473, allocations: 441.3 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009319/0.2482, allocations: 290.3 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.2485, allocations: 96.73 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2485, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.2486, allocations: 38.56 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2486, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0009967/0.2496, allocations: 305.3 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.2496, allocations: 59.41 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.255e-05/0.2497, allocations: 113.8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.2497, allocations: 33.7 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.2497, allocations: 84.17 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.2497, allocations: 7.812 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.2498, allocations: 25.7 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.509e-05/0.2498, allocations: 318.8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.2501, allocations: 95.88 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.2504, allocations: 95.88 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.251, allocations: 180.6 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.251, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000618/0.2516, allocations: 209.8 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2517, allocations: 9.094 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2517, allocations: 384 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2517, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.2519, allocations: 31.94 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2519, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.2521, allocations: 35.8 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2521, allocations: 8 kB / 1.224 GB, free: 111.4 MB / 0.823 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 5.176e-05/0.2522, allocations: 118.4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.2522, allocations: 3.984 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.2522, allocations: 11.91 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2522, allocations: 3.938 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2522, allocations: 3.938 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2522, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2524, allocations: 213.5 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2524, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2526, allocations: 35.94 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2526, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2526, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2526, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2526, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2537, allocations: 0.9813 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.2537, allocations: 81.02 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2538, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.254, allocations: 31.89 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.254, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.254, allocations: 11.98 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.254, allocations: 91.27 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.254, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003006/0.2543, allocations: 12 kB / 1.225 GB, free: 109.7 MB / 0.823 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 8.605e-05/0.2544, allocations: 99.25 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006444/0.2551, allocations: 195.7 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2551, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.2554, allocations: 107.9 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.2557, allocations: 2.531 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.2565, allocations: 385.7 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.078e-05/0.2566, allocations: 0.6887 MB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.403e-05/0.2566, allocations: 20.27 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.2567, allocations: 7.438 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.2567, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of Templates: time 0.002438/0.2591, allocations: 0.8749 MB / 1.227 GB, free: 107.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)