Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001268/0.001268, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001394/0.001394, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002457/0.002457, allocations: 277.5 kB / 313.5 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.263/1.263, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002786/0.002786, allocations: 102.7 kB / 0.7404 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1819, allocations: 95.38 MB / 0.8335 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003337/0.1852, allocations: 1.827 MB / 0.8353 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1865, allocations: 0.7449 MB / 0.836 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.1866, allocations: 4 kB / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.1867, allocations: 11.86 kB / 0.836 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/0.1868, allocations: 19.8 kB / 0.836 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.1874, allocations: 183.5 kB / 0.8362 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1876, allocations: 127.6 kB / 0.8363 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1878, allocations: 41.88 kB / 0.8364 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.188, allocations: 71.77 kB / 0.8365 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1881, allocations: 47.72 kB / 0.8365 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1881, allocations: 12 kB / 0.8365 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1882, allocations: 55.95 kB / 0.8366 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.1883, allocations: 31.91 kB / 0.8366 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.1883, allocations: 55.7 kB / 0.8366 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1886, allocations: 151.4 kB / 0.8368 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1886, allocations: 0 / 0.8368 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.579e-05/0.1886, allocations: 3.984 kB / 0.8368 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.1886, allocations: 0 / 0.8368 GB, free: 5.266 MB / 0.5762 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.0006218/0.1892, allocations: 365.7 kB / 0.8371 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1893, allocations: 9.344 kB / 0.8372 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.278e-05/0.1893, allocations: 8.188 kB / 0.8372 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.1893, allocations: 38.73 kB / 0.8372 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009867/0.1903, allocations: 140.5 kB / 0.8373 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1906, allocations: 162.8 kB / 0.8375 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.1907, allocations: 118.9 kB / 0.8376 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1907, allocations: 8 kB / 0.8376 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.1912, allocations: 165.5 kB / 0.8378 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1913, allocations: 0 / 0.8378 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1913, allocations: 8 kB / 0.8378 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1913, allocations: 0 / 0.8378 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.1919, allocations: 163.8 kB / 0.8379 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.193, allocations: 456.9 kB / 0.8384 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.194, allocations: 214.3 kB / 0.8386 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.1943, allocations: 80.91 kB / 0.8386 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1944, allocations: 3.938 kB / 0.8386 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.1944, allocations: 38.56 kB / 0.8387 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1944, allocations: 0 / 0.8387 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.001067/0.1955, allocations: 261.3 kB / 0.8389 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1955, allocations: 51.41 kB / 0.839 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1957, allocations: 146.4 kB / 0.8391 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.1957, allocations: 25.7 kB / 0.8391 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.1958, allocations: 112.3 kB / 0.8393 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1958, allocations: 15.8 kB / 0.8393 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.1959, allocations: 33.7 kB / 0.8393 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.1961, allocations: 322.8 kB / 0.8396 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.1964, allocations: 67.92 kB / 0.8397 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.1967, allocations: 98.48 kB / 0.8398 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.1973, allocations: 162.4 kB / 0.8399 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.1973, allocations: 3.938 kB / 0.8399 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000675/0.198, allocations: 201.4 kB / 0.8401 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.198, allocations: 4 kB / 0.8401 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.198, allocations: 4.062 kB / 0.8401 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.198, allocations: 7.938 kB / 0.8401 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.1983, allocations: 35.95 kB / 0.8402 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1983, allocations: 0 / 0.8402 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.1985, allocations: 23.97 kB / 0.8402 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1985, allocations: 3.984 kB / 0.8402 GB, free: 1.539 MB / 0.5762 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.0001158/0.1986, allocations: 126.3 kB / 0.8403 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.1986, allocations: 19.95 kB / 0.8403 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007167/0.1994, allocations: 194.2 kB / 0.8405 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1994, allocations: 4 kB / 0.8405 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1994, allocations: 0 / 0.8405 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1994, allocations: 3.984 kB / 0.8405 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.1996, allocations: 217.8 kB / 0.8407 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1996, allocations: 3.938 kB / 0.8407 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.1999, allocations: 35.95 kB / 0.8408 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1999, allocations: 3.938 kB / 0.8408 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1999, allocations: 7.984 kB / 0.8408 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1999, allocations: 0 / 0.8408 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1999, allocations: 0 / 0.8408 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.2007, allocations: 287.3 kB / 0.8411 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.2007, allocations: 7.953 kB / 0.8411 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.2007, allocations: 0 / 0.8411 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.201, allocations: 35.95 kB / 0.8411 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.201, allocations: 7.984 kB / 0.8411 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2011, allocations: 4 kB / 0.8411 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.2011, allocations: 109.5 kB / 0.8412 GB, free: 432 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2011, allocations: 0 / 0.8412 GB, free: 432 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002751/0.2014, allocations: 31.89 kB / 0.8412 GB, free: 400 kB / 0.5762 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.001086/0.2025, allocations: 0.8138 MB / 0.842 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006934/0.2032, allocations: 167.8 kB / 0.8422 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2032, allocations: 0 / 0.8422 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.2035, allocations: 84.03 kB / 0.8423 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2038, allocations: 4 kB / 0.8423 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.2071, allocations: 1.855 MB / 0.8441 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.2074, allocations: 0.7002 MB / 0.8448 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.043e-05/0.2075, allocations: 23.69 kB / 0.8448 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-05/0.2076, allocations: 31.42 kB / 0.8448 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.2076, allocations: 0 / 0.8448 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.2302, allocations: 3.005 MB / 0.8478 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 18.77 kB / 0.8478 GB, free: 9.715 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.522889723011758] Failed to read output from testmodel.py, exit status != 0: 11.3668029900291 11.384116823 11.191936868 Calling exit ...