Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001279/0.001279, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001222/0.001222, allocations: 198.4 kB / 16.14 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9653/0.9653, allocations: 143 MB / 433 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 0.5136 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1842, allocations: 82.04 MB / 0.5937 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002762/0.187, allocations: 1.513 MB / 0.5952 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.188, allocations: 0.5658 MB / 0.5958 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.1881, allocations: 0 / 0.5958 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.1881, allocations: 0 / 0.5958 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.1882, allocations: 3.938 kB / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1884, allocations: 43.89 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.1885, allocations: 27.92 kB / 0.5958 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.1886, allocations: 4 kB / 0.5958 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.1887, allocations: 15.94 kB / 0.5958 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.1888, allocations: 15.91 kB / 0.5959 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1888, allocations: 4 kB / 0.5959 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1889, allocations: 47.95 kB / 0.5959 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1889, allocations: 4 kB / 0.5959 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1889, allocations: 11.88 kB / 0.5959 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1891, allocations: 63.84 kB / 0.596 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1891, allocations: 4 kB / 0.596 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1891, allocations: 0 / 0.596 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.1891, allocations: 0 / 0.596 GB, free: 7.664 MB / 0.4981 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.0004597/0.1896, allocations: 347.7 kB / 0.5963 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1896, allocations: 8.031 kB / 0.5963 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.1897, allocations: 46.73 kB / 0.5964 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.1897, allocations: 4.844 kB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1898, allocations: 180.2 kB / 0.5965 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1898, allocations: 384 / 0.5965 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.1898, allocations: 384 / 0.5965 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.19, allocations: 45.81 kB / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.19, allocations: 0 / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.19, allocations: 4 kB / 0.5966 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.19, allocations: 4 kB / 0.5966 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.1901, allocations: 19.97 kB / 0.5966 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.1904, allocations: 252.9 kB / 0.5969 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.1905, allocations: 30.5 kB / 0.5969 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.1905, allocations: 28.84 kB / 0.5969 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007267/0.1912, allocations: 477.4 kB / 0.5974 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1913, allocations: 34.56 kB / 0.5974 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1913, allocations: 0 / 0.5974 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.1915, allocations: 65.61 kB / 0.5975 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.1915, allocations: 55.41 kB / 0.5975 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.822e-05/0.1916, allocations: 109.8 kB / 0.5976 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1916, allocations: 29.64 kB / 0.5977 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.1917, allocations: 80.14 kB / 0.5977 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.1917, allocations: 15.89 kB / 0.5977 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1917, allocations: 9.719 kB / 0.5978 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1919, allocations: 322.9 kB / 0.5981 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.1919, allocations: 11.98 kB / 0.5981 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.1919, allocations: 8 kB / 0.5981 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.192, allocations: 28.84 kB / 0.5981 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.192, allocations: 0 / 0.5981 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.1922, allocations: 61.61 kB / 0.5982 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1922, allocations: 8 kB / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1922, allocations: 0 / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1922, allocations: 0 / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.1923, allocations: 8 kB / 0.5982 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1923, allocations: 320 / 0.5982 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.1923, allocations: 0 / 0.5982 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.1923, allocations: 0 / 0.5982 GB, free: 5.09 MB / 0.4981 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 7.533e-05/0.1924, allocations: 117.8 kB / 0.5983 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.1924, allocations: 0 / 0.5983 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.1927, allocations: 69.19 kB / 0.5984 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1927, allocations: 4 kB / 0.5984 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1927, allocations: 0 / 0.5984 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1927, allocations: 3.938 kB / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1929, allocations: 161.6 kB / 0.5985 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1929, allocations: 0 / 0.5985 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.193, allocations: 11.98 kB / 0.5985 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.193, allocations: 0 / 0.5985 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.193, allocations: 32 / 0.5985 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.193, allocations: 8 kB / 0.5985 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.193, allocations: 0 / 0.5985 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1932, allocations: 151.4 kB / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.1932, allocations: 81.11 kB / 0.5988 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1932, allocations: 0 / 0.5988 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.1933, allocations: 0 / 0.5988 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.1933, allocations: 16.02 kB / 0.5988 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1933, allocations: 3.938 kB / 0.5988 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.1934, allocations: 87.22 kB / 0.5989 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1934, allocations: 0 / 0.5989 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.1936, allocations: 20 kB / 0.5989 GB, free: 4.266 MB / 0.4981 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.0004666/0.1941, allocations: 0.7007 MB / 0.5996 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1942, allocations: 23.98 kB / 0.5996 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1942, allocations: 0 / 0.5996 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.1943, allocations: 15.92 kB / 0.5996 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1945, allocations: 6.531 kB / 0.5996 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.1949, allocations: 174 kB / 0.5998 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1952, allocations: 0.677 MB / 0.6004 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.343e-05/0.1952, allocations: 0 / 0.6004 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.1952, allocations: 23.36 kB / 0.6005 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1952, allocations: 0 / 0.6005 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.2068, allocations: 1.492 MB / 0.6019 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.2071, allocations: 205.1 kB / 0.6021 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.976, allocations: 0 / 0.6021 GB, free: 0.9102 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)