Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit",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.00113/0.001131, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001166/0.001166, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.068/1.068, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.476/1.476, allocations: 292.3 MB / 0.5486 GB, free: 13.58 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.001365/0.001365, allocations: 69.16 kB / 0.6711 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2305, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002732/0.2333, allocations: 1.522 MB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.2342, allocations: 0.595 MB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.2342, allocations: 0 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.2343, allocations: 7.922 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.2343, allocations: 4 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.2346, allocations: 51.89 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.875e-05/0.2346, allocations: 19.94 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.2347, allocations: 7.984 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.2348, allocations: 23.86 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.2349, allocations: 15.92 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.2349, allocations: 0 / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.235, allocations: 55.95 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.235, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.2351, allocations: 19.88 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.2352, allocations: 60.14 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2352, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2352, allocations: 4 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.2353, allocations: 0 / 0.7853 GB, free: 11.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003932/0.2357, allocations: 343.4 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2357, allocations: 8.031 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.2357, allocations: 34.75 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.2358, allocations: 4.844 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2359, allocations: 188.2 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2359, allocations: 384 / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.2359, allocations: 4.359 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.2361, allocations: 49.75 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2361, allocations: 0 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2361, allocations: 0 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2361, allocations: 0 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.2362, allocations: 23.92 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.2365, allocations: 256.9 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.2366, allocations: 26.58 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.2367, allocations: 20.91 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008046/0.2375, allocations: 481.3 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2375, allocations: 30.56 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2375, allocations: 0 / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002631/0.2378, allocations: 61.67 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.2378, allocations: 55.41 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.2379, allocations: 110 kB / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.238, allocations: 29.7 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.238, allocations: 80.14 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.238, allocations: 7.906 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.2381, allocations: 13.72 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2382, allocations: 326.8 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.2382, allocations: 15.88 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.2383, allocations: 11.98 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.035e-05/0.2384, allocations: 28.91 kB / 0.7874 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2384, allocations: 0 / 0.7874 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001118/0.2385, allocations: 61.59 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2385, allocations: 4.781 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2385, allocations: 0 / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2385, allocations: 0 / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.2386, allocations: 11.98 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2386, allocations: 0 / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.2387, allocations: 4.031 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2387, allocations: 0 / 0.7875 GB, free: 8.801 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 (2): * Single equations (assignments): 2 * 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.083e-05/0.2388, allocations: 117.7 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.2388, allocations: 0 / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.239, allocations: 61.2 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.239, allocations: 4 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.239, allocations: 0 / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.239, allocations: 4.031 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.2392, allocations: 161.6 kB / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2392, allocations: 0 / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.2392, allocations: 8 kB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2393, allocations: 0 / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2393, allocations: 3.984 kB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2393, allocations: 0 / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2393, allocations: 0 / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.2395, allocations: 159.3 kB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.2395, allocations: 81.11 kB / 0.7881 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2395, allocations: 3.938 kB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.2396, allocations: 3.984 kB / 0.7881 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.2397, allocations: 4 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.2397, allocations: 0 / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.2397, allocations: 91.27 kB / 0.7882 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2397, allocations: 0 / 0.7882 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002414/0.24, allocations: 16 kB / 0.7882 GB, free: 7.992 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 (2): * Single equations (assignments): 2 * 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.0005032/0.2405, allocations: 0.7045 MB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2406, allocations: 27.98 kB / 0.7889 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2406, allocations: 4.094 kB / 0.7889 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.2407, allocations: 11.98 kB / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.2409, allocations: 3.938 kB / 0.7889 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.2413, allocations: 176.1 kB / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2416, allocations: 0.6768 MB / 0.7897 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.2416, allocations: 12.05 kB / 0.7897 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.2417, allocations: 11.44 kB / 0.7898 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2417, allocations: 0 / 0.7898 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.2535, allocations: 1.478 MB / 0.7912 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/0.2539, allocations: 193.4 kB / 0.7914 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.163, allocations: 4 kB / 0.7914 GB, free: 4.637 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)