Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.001455/0.001455, allocations: 113 kB / 18.94 MB, free: 2.934 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.001855/0.001855, allocations: 207 kB / 22.25 MB, free: 5.086 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.047 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.9687/0.9687, allocations: 145 MB / 457.4 MB, free: 15.54 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.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",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.002271/0.002271, allocations: 61.66 kB / 0.6332 GB, free: 7.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1832, allocations: 87.88 MB / 0.719 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.003093/0.1863, allocations: 1.47 MB / 0.7204 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/0.1867, allocations: 188.3 kB / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.1868, allocations: 4 kB / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.1868, allocations: 3.938 kB / 0.7206 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.1868, allocations: 7.938 kB / 0.7206 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1871, allocations: 35.89 kB / 0.7207 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.1872, allocations: 27.92 kB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.1873, allocations: 4 kB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.1873, allocations: 11.92 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.1874, allocations: 11.94 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1874, allocations: 0 / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1875, allocations: 51.88 kB / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.1875, allocations: 4 kB / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.1875, allocations: 7.938 kB / 0.7208 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1877, allocations: 47.81 kB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1877, allocations: 3.984 kB / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1877, allocations: 0 / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1877, allocations: 0 / 0.7208 GB, free: 13.58 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.0004641/0.1882, allocations: 268.2 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1882, allocations: 12.03 kB / 0.7211 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1882, allocations: 30.75 kB / 0.7211 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.265e-05/0.1883, allocations: 0.9375 kB / 0.7211 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1884, allocations: 106.5 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1884, allocations: 4.375 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.1884, allocations: 384 / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1886, allocations: 54.17 kB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1886, allocations: 3.938 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.1886, allocations: 0 / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1886, allocations: 4 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1888, allocations: 35.95 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1891, allocations: 224 kB / 0.7215 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1892, allocations: 46.42 kB / 0.7216 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.1893, allocations: 20.91 kB / 0.7216 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.1894, allocations: 4 kB / 0.7216 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1894, allocations: 34.56 kB / 0.7216 GB, free: 12.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1894, allocations: 0 / 0.7216 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003521/0.1898, allocations: 81.64 kB / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1898, allocations: 51.41 kB / 0.7218 GB, free: 12.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.19, allocations: 109.8 kB / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.19, allocations: 25.7 kB / 0.7219 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.19, allocations: 80.27 kB / 0.722 GB, free: 12.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.1901, allocations: 11.89 kB / 0.722 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1901, allocations: 25.66 kB / 0.722 GB, free: 12.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1902, allocations: 314.8 kB / 0.7223 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.1903, allocations: 15.98 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.162e-05/0.1904, allocations: 15.98 kB / 0.7223 GB, free: 11.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1906, allocations: 44.88 kB / 0.7224 GB, free: 11.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1906, allocations: 7.875 kB / 0.7224 GB, free: 11.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.1908, allocations: 65.67 kB / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1908, allocations: 6.5 kB / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1908, allocations: 0 / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1908, allocations: 0 / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.1909, allocations: 11.98 kB / 0.7225 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1909, allocations: 11.91 kB / 0.7225 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.1909, allocations: 7.984 kB / 0.7225 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1909, allocations: 0 / 0.7225 GB, free: 11.69 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.433e-05/0.191, allocations: 109.8 kB / 0.7226 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1911, allocations: 7.953 kB / 0.7226 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.1913, allocations: 68.97 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1913, allocations: 4.031 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1913, allocations: 0 / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1913, allocations: 4 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1915, allocations: 132.7 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1915, allocations: 0 / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.1915, allocations: 11.98 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1915, allocations: 0 / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1915, allocations: 0 / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1915, allocations: 0 / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1915, allocations: 3.938 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.1918, allocations: 171.4 kB / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.1918, allocations: 0 / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1918, allocations: 4 kB / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.1919, allocations: 3.984 kB / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.1919, allocations: 4 kB / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1919, allocations: 0 / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.192, allocations: 91.56 kB / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.192, allocations: 0 / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002442/0.1922, allocations: 11.98 kB / 0.7231 GB, free: 10.99 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.0006578/0.1929, allocations: 0.7123 MB / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1931, allocations: 35.95 kB / 0.7238 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1931, allocations: 4 kB / 0.7238 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.1932, allocations: 15.98 kB / 0.7238 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1935, allocations: 3.938 kB / 0.7238 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.1939, allocations: 147.2 kB / 0.724 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1943, allocations: 0.6768 MB / 0.7246 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.1943, allocations: 4 kB / 0.7246 GB, free: 9.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.1943, allocations: 7.438 kB / 0.7246 GB, free: 9.297 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1943, allocations: 0 / 0.7246 GB, free: 9.297 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.2229, allocations: 1.565 MB / 0.7262 GB, free: 7.871 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.24, allocations: 7.344 kB / 0.7262 GB, free: 7.867 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.00346775399521] Failed to read output from testmodel.py, exit status != 0: 11.342407730175182 11.37151976 11.178768608 Calling exit ...