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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 195.2 kB / 16.64 MB, free: 6.582 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.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.775/1.775, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001462/0.001462, allocations: 68.72 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2328, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00302/0.2359, allocations: 1.459 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.2363, allocations: 148.2 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.2363, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.2364, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.2365, allocations: 3.938 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2367, allocations: 35.89 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.2368, allocations: 43.91 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.237, allocations: 16 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.237, allocations: 19.92 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.2371, allocations: 19.86 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2371, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.2372, allocations: 43.95 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.2372, allocations: 8 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.2372, allocations: 23.86 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2374, allocations: 64.02 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2374, allocations: 4 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2374, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.2374, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 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.0004654/0.2379, allocations: 363.4 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2379, allocations: 8.031 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.238, allocations: 34.69 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.239, allocations: 216.5 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2392, allocations: 176.2 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2392, allocations: 384 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2392, allocations: 4.375 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.2398, allocations: 198 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2398, allocations: 3.938 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2398, allocations: 3.938 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2398, allocations: 0 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007942/0.2406, allocations: 279.6 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009706/0.2416, allocations: 437.2 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2427, allocations: 290.1 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.243, allocations: 104.8 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.2431, allocations: 0 / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2431, allocations: 38.55 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.2431, allocations: 3.984 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001193/0.2443, allocations: 309.3 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.2444, allocations: 51.41 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2445, allocations: 125.7 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.2445, allocations: 25.7 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.2446, allocations: 95.98 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.2446, allocations: 11.89 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.2447, allocations: 17.72 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2449, allocations: 318.8 kB / 0.7885 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.2452, allocations: 95.88 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.2455, allocations: 95.88 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.2462, allocations: 168.6 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2462, allocations: 0 / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007108/0.2469, allocations: 209.5 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.2469, allocations: 8.938 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2469, allocations: 3.938 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.247, allocations: 3.938 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.2472, allocations: 43.94 kB / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2472, allocations: 0 / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.2474, allocations: 31.86 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2474, allocations: 0 / 0.7891 GB, free: 7.418 MB / 0.6075 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.0001069/0.2475, allocations: 122.4 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.2476, allocations: 0 / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.2476, allocations: 7.906 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2476, allocations: 4 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2477, allocations: 0 / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2477, allocations: 4 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.2479, allocations: 205.5 kB / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2479, allocations: 0 / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2481, allocations: 35.94 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2481, allocations: 0 / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2482, allocations: 4 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2482, allocations: 4 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2482, allocations: 4 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000745/0.2489, allocations: 319.1 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.249, allocations: 81.11 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.249, allocations: 0 / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.2492, allocations: 27.95 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.2493, allocations: 0 / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2493, allocations: 8.359 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.2494, allocations: 99.2 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2494, allocations: 0 / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002321/0.2496, allocations: 15.94 kB / 0.79 GB, free: 6.395 MB / 0.6075 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.001025/0.2506, allocations: 0.8375 MB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007163/0.2514, allocations: 203.8 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2514, allocations: 0 / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.2517, allocations: 103.9 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.252, allocations: 0 / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.2552, allocations: 1.857 MB / 0.7929 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2555, allocations: 0.6885 MB / 0.7936 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.311e-05/0.2556, allocations: 19.98 kB / 0.7936 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.2557, allocations: 15.44 kB / 0.7936 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2557, allocations: 0 / 0.7936 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.2725, allocations: 1.937 MB / 0.7955 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.239, allocations: 0 / 0.7955 GB, free: 0.6797 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)