Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001201/0.001201, allocations: 112.9 kB / 16.38 MB, free: 6.008 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.00117/0.00117, allocations: 190.8 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.3 MB / 0.5496 GB, free: 17.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 68.47 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2207, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00277/0.2235, allocations: 1.453 MB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004192/0.2239, allocations: 148.3 kB / 0.7864 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.224, allocations: 0 / 0.7864 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.885e-05/0.2241, allocations: 0 / 0.7864 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.2241, allocations: 3.938 kB / 0.7864 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2244, allocations: 31.89 kB / 0.7864 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2245, allocations: 43.91 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2247, allocations: 23.98 kB / 0.7865 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.836e-05/0.2247, allocations: 15.94 kB / 0.7865 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.2248, allocations: 19.86 kB / 0.7865 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.2248, allocations: 4 kB / 0.7865 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.2249, allocations: 43.95 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.2249, allocations: 7.984 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.225, allocations: 15.88 kB / 0.7866 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.2251, allocations: 63.78 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2251, allocations: 12 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2251, allocations: 0 / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.2252, allocations: 0 / 0.7866 GB, free: 1.312 MB / 0.6544 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.0004713/0.2256, allocations: 355.4 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2257, allocations: 8.031 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.2268, allocations: 216.5 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2269, allocations: 176.2 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2269, allocations: 384 / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.2269, allocations: 8.375 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.2275, allocations: 190 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2275, allocations: 8.125 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.2275, allocations: 11.92 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2276, allocations: 0 / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.398/0.6255, allocations: 273.4 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.6265, allocations: 432.2 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.6276, allocations: 287.9 kB / 0.7885 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.6279, allocations: 101.7 kB / 0.7886 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.628, allocations: 7.266 kB / 0.7886 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.628, allocations: 30.56 kB / 0.7886 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.628, allocations: 0 / 0.7886 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.001105/0.6291, allocations: 312 kB / 0.7889 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.6291, allocations: 51.97 kB / 0.789 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.6292, allocations: 119.5 kB / 0.7891 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.6292, allocations: 25.7 kB / 0.7891 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.6293, allocations: 87.08 kB / 0.7892 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.6293, allocations: 19.56 kB / 0.7892 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.6293, allocations: 17 kB / 0.7892 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.6294, allocations: 318.6 kB / 0.7896 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.6297, allocations: 97.19 kB / 0.7896 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.6301, allocations: 97.83 kB / 0.7897 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.6307, allocations: 176 kB / 0.7899 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6307, allocations: 0 / 0.7899 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006844/0.6314, allocations: 216.7 kB / 0.7901 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6314, allocations: 5.25 kB / 0.7901 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6314, allocations: 0 / 0.7901 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.6315, allocations: 0 / 0.7901 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.6317, allocations: 33.55 kB / 0.7901 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.6317, allocations: 2.625 kB / 0.7902 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.6319, allocations: 38.47 kB / 0.7902 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.6319, allocations: 1.125 kB / 0.7902 GB, free: 47.94 MB / 0.6544 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 6.965e-05/0.632, allocations: 121.1 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.6321, allocations: 1.781 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.6321, allocations: 11.44 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6321, allocations: 2.062 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6321, allocations: 1.469 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.6322, allocations: 82.98 kB / 0.7904 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.6322, allocations: 5.203 kB / 0.7904 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.6324, allocations: 28.27 kB / 0.7904 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.6325, allocations: 6.375 kB / 0.7904 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000854/0.6333, allocations: 320.5 kB / 0.7907 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006965/0.634, allocations: 388 kB / 0.7911 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003242/0.6344, allocations: 102.1 kB / 0.7912 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.6344, allocations: 93.28 kB / 0.7913 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of Backend: time 1.022e-06/0.6344, allocations: 0 / 0.7913 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006888/0.6351, allocations: 184.1 kB / 0.7915 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003806/0.6355, allocations: 0.5886 MB / 0.7921 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.003842/0.6393, allocations: 1.661 MB / 0.7937 GB, free: 46.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)