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.001067/0.001067, allocations: 108 kB / 15.61 MB, free: 152 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.001106/0.001106, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.64/1.64, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001415/0.001415, allocations: 72.44 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2124, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002497/0.2149, allocations: 1.46 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.2153, allocations: 136.4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.2154, allocations: 3.938 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.2154, allocations: 7.984 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.2155, allocations: 3.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2157, allocations: 35.89 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.2158, allocations: 35.92 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.216, allocations: 27.98 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.216, allocations: 11.94 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.2161, allocations: 23.91 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.2161, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.2162, allocations: 31.98 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.2162, allocations: 15.91 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.2163, allocations: 23.88 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2164, allocations: 68 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2164, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2164, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.2165, allocations: 4 kB / 0.7853 GB, free: 11.47 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.0004833/0.2169, allocations: 359.4 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.217, allocations: 8.031 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.217, allocations: 38.73 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.2181, allocations: 208.6 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2183, allocations: 180.2 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2183, allocations: 384 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2183, allocations: 4.375 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.2189, allocations: 194 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2189, allocations: 3.938 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2189, allocations: 4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2189, allocations: 7.938 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.2198, allocations: 275.6 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.2206, allocations: 433.2 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.2217, allocations: 290.1 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.2221, allocations: 100.8 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2221, allocations: 8.016 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2222, allocations: 34.56 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.2222, allocations: 4 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001179/0.2233, allocations: 305.3 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2234, allocations: 51.41 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.2235, allocations: 121.8 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2235, allocations: 25.7 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.2236, allocations: 99.95 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2236, allocations: 7.906 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.2237, allocations: 17.72 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2238, allocations: 322.8 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.2241, allocations: 95.88 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.2245, allocations: 91.88 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.2252, allocations: 176.6 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2252, allocations: 0 / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007354/0.2259, allocations: 213.7 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2259, allocations: 4 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.226, allocations: 48 / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.226, allocations: 7.922 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.2262, allocations: 35.95 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2262, allocations: 0 / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.2264, allocations: 40.22 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2265, allocations: 0 / 0.7889 GB, free: 7.539 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 9.023e-05/0.2266, allocations: 118.4 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.2266, allocations: 4 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.2266, allocations: 11.83 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2266, allocations: 0 / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2267, allocations: 4 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2267, allocations: 0 / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2269, allocations: 209.5 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2269, allocations: 4 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.2271, allocations: 27.95 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2271, allocations: 0 / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.2272, allocations: 15.92 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2272, allocations: 0 / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2272, allocations: 0 / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.2279, allocations: 319.1 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.228, allocations: 77.11 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.228, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.2282, allocations: 31.95 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2283, allocations: 7.984 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2283, allocations: 4 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.226e-05/0.2284, allocations: 95.27 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2284, allocations: 0 / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002352/0.2286, allocations: 15.94 kB / 0.7898 GB, free: 6.512 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.001048/0.2297, allocations: 0.841 MB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007499/0.2304, allocations: 195.8 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2304, allocations: 0 / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.2308, allocations: 103.9 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.2311, allocations: 6.656 kB / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.2344, allocations: 1.838 MB / 0.7927 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.2347, allocations: 0.6924 MB / 0.7934 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.823e-05/0.2348, allocations: 16.27 kB / 0.7934 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.2349, allocations: 19.44 kB / 0.7934 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.2349, allocations: 7.938 kB / 0.7934 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.2514, allocations: 1.92 MB / 0.7953 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.562, allocations: 11.8 kB / 0.7953 GB, free: 0.7969 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)