Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.001768/0.001768, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.00167/0.00167, allocations: 220.9 kB / 23.01 MB, free: 5.004 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9607/0.9607, allocations: 150 MB / 463.2 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00211/0.00211, allocations: 69.12 kB / 0.6413 GB, free: 10.49 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1751, allocations: 89.16 MB / 0.7284 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003311/0.1784, allocations: 1.807 MB / 0.7301 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1798, allocations: 0.7402 MB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1799, allocations: 3.938 kB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.576e-05/0.18, allocations: 7.875 kB / 0.7309 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.1801, allocations: 23.8 kB / 0.7309 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.1807, allocations: 179.3 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1809, allocations: 127.6 kB / 0.7312 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.181, allocations: 45.88 kB / 0.7312 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1812, allocations: 59.83 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1813, allocations: 51.72 kB / 0.7313 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1813, allocations: 8 kB / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1815, allocations: 55.95 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.1815, allocations: 27.91 kB / 0.7314 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.1816, allocations: 59.7 kB / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1818, allocations: 167.2 kB / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1818, allocations: 0 / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1818, allocations: 0 / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.1818, allocations: 4 kB / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006071/0.1824, allocations: 369.7 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1825, allocations: 12.03 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.1825, allocations: 38.69 kB / 0.732 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009909/0.1835, allocations: 132.7 kB / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1838, allocations: 163.5 kB / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1839, allocations: 115.1 kB / 0.7324 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.184, allocations: 12 kB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.1845, allocations: 171.8 kB / 0.7326 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1845, allocations: 0 / 0.7326 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.1845, allocations: 8 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1845, allocations: 3.984 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.1851, allocations: 159.8 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.1862, allocations: 445 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.1872, allocations: 218.3 kB / 0.7334 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.1875, allocations: 80.91 kB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1876, allocations: 3.984 kB / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1876, allocations: 34.5 kB / 0.7335 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1876, allocations: 4 kB / 0.7335 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001034/0.1886, allocations: 257.4 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1887, allocations: 51.41 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1888, allocations: 148.7 kB / 0.7339 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1889, allocations: 29.64 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.1889, allocations: 112.3 kB / 0.7341 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.189, allocations: 15.8 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.189, allocations: 33.7 kB / 0.7341 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1892, allocations: 322.8 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.1895, allocations: 67.92 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.1898, allocations: 98.48 kB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.1904, allocations: 162.4 kB / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1904, allocations: 0 / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006739/0.1911, allocations: 205.4 kB / 0.7349 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1911, allocations: 4 kB / 0.7349 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1911, allocations: 4 kB / 0.735 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1911, allocations: 4 kB / 0.735 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.1914, allocations: 39.95 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1914, allocations: 0 / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.1916, allocations: 31.91 kB / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1916, allocations: 160 / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001221/0.1917, allocations: 127.6 kB / 0.7351 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.1918, allocations: 20.27 kB / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.1925, allocations: 202.2 kB / 0.7354 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1925, allocations: 0 / 0.7354 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1925, allocations: 4 kB / 0.7354 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1925, allocations: 3.984 kB / 0.7354 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.1928, allocations: 213.5 kB / 0.7356 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1928, allocations: 0 / 0.7356 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.193, allocations: 31.95 kB / 0.7356 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.193, allocations: 0 / 0.7356 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.193, allocations: 7.984 kB / 0.7356 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.193, allocations: 0 / 0.7356 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.193, allocations: 3.984 kB / 0.7356 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.1937, allocations: 295.2 kB / 0.7359 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.1937, allocations: 7.953 kB / 0.7359 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1938, allocations: 0 / 0.7359 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.1941, allocations: 35.95 kB / 0.7359 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1941, allocations: 7.984 kB / 0.7359 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1941, allocations: 7.984 kB / 0.736 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.988e-05/0.1942, allocations: 105.3 kB / 0.7361 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1942, allocations: 0 / 0.7361 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002662/0.1945, allocations: 24 kB / 0.7361 GB, free: 9.156 MB / 0.5606 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 (6): * Single equations (assignments): 6 * 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.001036/0.1955, allocations: 0.8215 MB / 0.7369 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000639/0.1961, allocations: 163.8 kB / 0.737 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1961, allocations: 0 / 0.737 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.1964, allocations: 87.97 kB / 0.7371 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1967, allocations: 8.438 kB / 0.7371 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.1999, allocations: 1.849 MB / 0.7389 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.2002, allocations: 0.7039 MB / 0.7396 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.688e-05/0.2003, allocations: 23.73 kB / 0.7396 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.2004, allocations: 35.41 kB / 0.7397 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.2004, allocations: 0 / 0.7397 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.2317, allocations: 2.957 MB / 0.7426 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.23, allocations: 6.297 kB / 0.7426 GB, free: 2.512 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.02732471213676] Failed to read output from testmodel.py, exit status != 0: 11.342505886917934 11.370329247 11.183479995 Calling exit ...