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.001139/0.001139, allocations: 103.4 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.001246/0.001246, allocations: 195.6 kB / 16.25 MB, free: 6.625 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.41 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 1.012/1.012, allocations: 143 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.5138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.171, allocations: 82.03 MB / 0.5939 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002748/0.1738, allocations: 1.517 MB / 0.5954 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.1747, allocations: 0.5502 MB / 0.5959 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.1748, allocations: 0 / 0.5959 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.1748, allocations: 4 kB / 0.5959 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.1749, allocations: 7.938 kB / 0.5959 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1752, allocations: 43.89 kB / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.475e-05/0.1753, allocations: 23.92 kB / 0.596 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1754, allocations: 11.92 kB / 0.596 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.456e-05/0.1755, allocations: 12 kB / 0.596 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.1755, allocations: 15.92 kB / 0.596 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1755, allocations: 7.938 kB / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1757, allocations: 55.95 kB / 0.5961 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1757, allocations: 7.922 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1757, allocations: 11.94 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1758, allocations: 59.86 kB / 0.5962 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1759, allocations: 0 / 0.5962 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.387e-06/0.1759, allocations: 7.984 kB / 0.5962 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.1759, allocations: 0 / 0.5962 GB, free: 7.441 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.0004422/0.1763, allocations: 345.9 kB / 0.5965 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1764, allocations: 12.03 kB / 0.5965 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.1764, allocations: 34.75 kB / 0.5966 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1765, allocations: 4.844 kB / 0.5966 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1766, allocations: 180.2 kB / 0.5967 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.1766, allocations: 384 / 0.5967 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1766, allocations: 4.359 kB / 0.5967 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1768, allocations: 45.81 kB / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1768, allocations: 0 / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1768, allocations: 0 / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1768, allocations: 4 kB / 0.5968 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/0.1769, allocations: 23.92 kB / 0.5968 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.1772, allocations: 252.9 kB / 0.597 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.1773, allocations: 30.56 kB / 0.5971 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.1774, allocations: 16.92 kB / 0.5971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008772/0.1782, allocations: 477.4 kB / 0.5975 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1783, allocations: 38.5 kB / 0.5976 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1783, allocations: 3.938 kB / 0.5976 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002332/0.1785, allocations: 57.8 kB / 0.5976 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1786, allocations: 59.41 kB / 0.5977 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.1787, allocations: 109.8 kB / 0.5978 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1787, allocations: 25.7 kB / 0.5978 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.1788, allocations: 84.12 kB / 0.5979 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1788, allocations: 15.84 kB / 0.5979 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1788, allocations: 17.7 kB / 0.5979 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.179, allocations: 318.8 kB / 0.5982 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.179, allocations: 15.98 kB / 0.5983 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.1791, allocations: 8 kB / 0.5983 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.1792, allocations: 28.78 kB / 0.5983 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1792, allocations: 0 / 0.5983 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/0.1793, allocations: 57.59 kB / 0.5983 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1793, allocations: 4 kB / 0.5984 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1793, allocations: 0 / 0.5984 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1793, allocations: 4.094 kB / 0.5984 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.1794, allocations: 11.98 kB / 0.5984 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1794, allocations: 0 / 0.5984 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.1795, allocations: 0 / 0.5984 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.1795, allocations: 0 / 0.5984 GB, free: 4.875 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 8.545e-05/0.1796, allocations: 113.8 kB / 0.5985 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1796, allocations: 3.984 kB / 0.5985 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.1798, allocations: 65.16 kB / 0.5985 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1798, allocations: 4 kB / 0.5985 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1798, allocations: 3.984 kB / 0.5985 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1798, allocations: 0 / 0.5985 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.18, allocations: 157.6 kB / 0.5987 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.18, allocations: 4 kB / 0.5987 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.18, allocations: 11.98 kB / 0.5987 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.18, allocations: 0 / 0.5987 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.18, allocations: 0 / 0.5987 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.18, allocations: 0 / 0.5987 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.18, allocations: 0 / 0.5987 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1802, allocations: 159.4 kB / 0.5989 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1803, allocations: 85.09 kB / 0.5989 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1803, allocations: 3.938 kB / 0.599 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.1803, allocations: 0 / 0.599 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.1804, allocations: 4 kB / 0.599 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1804, allocations: 0 / 0.599 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.1805, allocations: 99.59 kB / 0.5991 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1805, allocations: 0 / 0.5991 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002282/0.1807, allocations: 12 kB / 0.5991 GB, free: 4.059 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.0005309/0.1812, allocations: 0.6968 MB / 0.5997 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.1814, allocations: 31.95 kB / 0.5998 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1814, allocations: 0 / 0.5998 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.1814, allocations: 11.94 kB / 0.5998 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.1816, allocations: 0 / 0.5998 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.182, allocations: 184.1 kB / 0.6 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1823, allocations: 0.6807 MB / 0.6006 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.1824, allocations: 7.922 kB / 0.6006 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.1824, allocations: 19.42 kB / 0.6007 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1824, allocations: 0 / 0.6007 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.1931, allocations: 1.515 MB / 0.6021 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.1933, allocations: 203.3 kB / 0.6023 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.846, allocations: 0 / 0.6023 GB, free: 0.6797 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)