Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 113 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 214 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9503/0.9503, allocations: 145 MB / 457.4 MB, free: 15.63 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003361/0.003361, allocations: 71.45 kB / 0.6332 GB, free: 7.359 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1809, allocations: 87.87 MB / 0.719 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002791/0.1837, allocations: 1.47 MB / 0.7204 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009169/0.1846, allocations: 0.4997 MB / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.1846, allocations: 3.938 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.1847, allocations: 4 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.1847, allocations: 15.91 kB / 0.7209 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1849, allocations: 15.92 kB / 0.721 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.185, allocations: 23.98 kB / 0.721 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.426e-05/0.1851, allocations: 0 / 0.721 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.1851, allocations: 15.88 kB / 0.721 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.1852, allocations: 11.98 kB / 0.721 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1852, allocations: 4 kB / 0.721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.1852, allocations: 19.97 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.1853, allocations: 7.938 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.1853, allocations: 19.92 kB / 0.7211 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1854, allocations: 23.91 kB / 0.7211 GB, free: 13.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1854, allocations: 4 kB / 0.7211 GB, free: 13.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1854, allocations: 3.938 kB / 0.7211 GB, free: 13.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1854, allocations: 0 / 0.7211 GB, free: 13.34 MB / 0.545 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.0004321/0.1858, allocations: 267.9 kB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1859, allocations: 12.03 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1859, allocations: 34.75 kB / 0.7214 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.186, allocations: 8.938 kB / 0.7214 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1861, allocations: 114.5 kB / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1861, allocations: 384 / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.1861, allocations: 384 / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1863, allocations: 53.8 kB / 0.7216 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1863, allocations: 0 / 0.7216 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1863, allocations: 4 kB / 0.7216 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1863, allocations: 0 / 0.7216 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.1864, allocations: 39.84 kB / 0.7216 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.1868, allocations: 231.9 kB / 0.7218 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1869, allocations: 34.56 kB / 0.7218 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.187, allocations: 16.91 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-05/0.1871, allocations: 7.984 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1871, allocations: 38.56 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1871, allocations: 0 / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.1875, allocations: 81.58 kB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1875, allocations: 51.41 kB / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.1876, allocations: 105.8 kB / 0.7221 GB, free: 12.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1876, allocations: 29.83 kB / 0.7222 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.1877, allocations: 84.14 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1877, allocations: 7.953 kB / 0.7223 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1877, allocations: 9.719 kB / 0.7223 GB, free: 11.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1879, allocations: 318.8 kB / 0.7226 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.188, allocations: 19.97 kB / 0.7226 GB, free: 11.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.1881, allocations: 15.98 kB / 0.7226 GB, free: 11.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1882, allocations: 44.83 kB / 0.7226 GB, free: 11.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1882, allocations: 0 / 0.7226 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.1884, allocations: 65.66 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1884, allocations: 4 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1884, allocations: 0 / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1884, allocations: 0 / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.1885, allocations: 19.95 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1885, allocations: 0 / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1886, allocations: 7.984 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1886, allocations: 0 / 0.7227 GB, free: 11.45 MB / 0.545 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.4e-05/0.1887, allocations: 117.8 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.1887, allocations: 3.953 kB / 0.7229 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.1889, allocations: 80.91 kB / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1889, allocations: 0 / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1889, allocations: 0 / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.189, allocations: 0 / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.1891, allocations: 132.9 kB / 0.7231 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1891, allocations: 0 / 0.7231 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.1892, allocations: 12 kB / 0.7231 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1892, allocations: 3.984 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1892, allocations: 0 / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1892, allocations: 0 / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1892, allocations: 4.031 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1894, allocations: 167.4 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.1895, allocations: 11.98 kB / 0.7232 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1895, allocations: 3.938 kB / 0.7232 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.1895, allocations: 4 kB / 0.7233 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.1896, allocations: 8.016 kB / 0.7233 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1896, allocations: 0 / 0.7233 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.1896, allocations: 83.28 kB / 0.7233 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1896, allocations: 0 / 0.7233 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002321/0.1899, allocations: 11.94 kB / 0.7234 GB, free: 10.74 MB / 0.545 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.0006352/0.1905, allocations: 0.7013 MB / 0.724 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1907, allocations: 35.91 kB / 0.7241 GB, free: 9.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1907, allocations: 0 / 0.7241 GB, free: 9.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/0.1908, allocations: 23.97 kB / 0.7241 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1911, allocations: 8.156 kB / 0.7241 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.1916, allocations: 143.1 kB / 0.7242 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.192, allocations: 0.6768 MB / 0.7249 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.192, allocations: 3.938 kB / 0.7249 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.192, allocations: 15.44 kB / 0.7249 GB, free: 9.043 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.192, allocations: 0 / 0.7249 GB, free: 9.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.2217, allocations: 1.555 MB / 0.7264 GB, free: 7.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.25, allocations: 7.625 kB / 0.7264 GB, free: 7.625 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.01382812904194] Failed to read output from testmodel.py, exit status != 0: 11.354600539896637 11.380920122 11.190794425 Calling exit ...