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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 184.5 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009117/0.0009119, allocations: 99.72 kB / 0.748 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009562/0.0009563, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2105, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002741/0.2133, allocations: 1.518 MB / 0.9837 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003665/0.2137, allocations: 152.4 kB / 0.9838 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.2137, allocations: 0 / 0.9838 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.2138, allocations: 3.938 kB / 0.9838 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.2139, allocations: 0 / 0.9838 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.2141, allocations: 27.91 kB / 0.9839 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.2142, allocations: 43.86 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.2143, allocations: 19.98 kB / 0.9839 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.2143, allocations: 11.98 kB / 0.9839 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.2144, allocations: 23.86 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2144, allocations: 4 kB / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.2145, allocations: 39.97 kB / 0.984 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.2145, allocations: 7.984 kB / 0.984 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.2145, allocations: 15.88 kB / 0.984 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.2146, allocations: 60.14 kB / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2146, allocations: 3.984 kB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2146, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.2147, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 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.0003924/0.2151, allocations: 359.3 kB / 0.9844 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2151, allocations: 12.03 kB / 0.9844 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009834/0.2161, allocations: 208.5 kB / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2162, allocations: 172.2 kB / 0.9848 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2162, allocations: 8.375 kB / 0.9848 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2162, allocations: 384 / 0.9848 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.2168, allocations: 205.9 kB / 0.985 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2168, allocations: 4.172 kB / 0.985 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2168, allocations: 3.938 kB / 0.985 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2168, allocations: 0 / 0.985 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007912/0.2176, allocations: 283.6 kB / 0.9853 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.2185, allocations: 433.3 kB / 0.9857 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.2195, allocations: 294.1 kB / 0.986 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.2198, allocations: 104.8 kB / 0.9861 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2199, allocations: 0 / 0.9861 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2199, allocations: 34.56 kB / 0.9861 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2199, allocations: 0 / 0.9861 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.001051/0.221, allocations: 313.3 kB / 0.9864 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.221, allocations: 55.39 kB / 0.9865 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.2211, allocations: 117.8 kB / 0.9866 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2211, allocations: 25.7 kB / 0.9866 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.2212, allocations: 92.05 kB / 0.9867 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.2212, allocations: 15.84 kB / 0.9867 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.2213, allocations: 17.7 kB / 0.9867 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.2214, allocations: 318.8 kB / 0.987 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.2217, allocations: 95.86 kB / 0.9871 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.222, allocations: 99.88 kB / 0.9872 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.2227, allocations: 164.6 kB / 0.9874 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2227, allocations: 4 kB / 0.9874 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007048/0.2234, allocations: 217.3 kB / 0.9876 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2234, allocations: 8 kB / 0.9876 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2234, allocations: 0 / 0.9876 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2234, allocations: 0 / 0.9876 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.2237, allocations: 39.94 kB / 0.9876 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2237, allocations: 3.938 kB / 0.9876 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2239, allocations: 23.95 kB / 0.9877 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.2239, allocations: 4 kB / 0.9877 GB, free: 4.539 MB / 0.7136 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 9.419e-05/0.224, allocations: 125.8 kB / 0.9878 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.224, allocations: 0 / 0.9878 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.2241, allocations: 15.91 kB / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2241, allocations: 0 / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2241, allocations: 0 / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2241, allocations: 0 / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.2243, allocations: 217.3 kB / 0.988 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2243, allocations: 384 / 0.988 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.2245, allocations: 35.94 kB / 0.988 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2246, allocations: 0 / 0.988 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2246, allocations: 0 / 0.988 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2246, allocations: 11.94 kB / 0.9881 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2246, allocations: 336 / 0.9881 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2259, allocations: 0.9813 MB / 0.989 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.2259, allocations: 84.95 kB / 0.9891 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2259, allocations: 4 kB / 0.9891 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.2262, allocations: 27.89 kB / 0.9891 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.2262, allocations: 7.984 kB / 0.9891 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2262, allocations: 4 kB / 0.9891 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.2263, allocations: 95.27 kB / 0.9892 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2263, allocations: 0 / 0.9892 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003152/0.2266, allocations: 12 kB / 0.9892 GB, free: 2.785 MB / 0.7136 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.0001004/0.2267, allocations: 95.25 kB / 0.9893 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000705/0.2274, allocations: 199.7 kB / 0.9895 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2274, allocations: 0 / 0.9895 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.2278, allocations: 99.81 kB / 0.9896 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2282, allocations: 5.828 kB / 0.9896 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.2291, allocations: 385.6 kB / 0.99 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2294, allocations: 0.6926 MB / 0.9907 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.876e-05/0.2295, allocations: 19.98 kB / 0.9907 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.2295, allocations: 11.44 kB / 0.9907 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.2295, allocations: 0 / 0.9907 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of Templates: time 0.002528/0.2321, allocations: 0.8697 MB / 0.9915 GB, free: 368 kB / 0.7136 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)