Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.001244/0.001244, 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.001413/0.001413, allocations: 216.4 kB / 23.04 MB, free: 5.078 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002476/0.002476, allocations: 286.8 kB / 313.5 MB, free: 2.82 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.262/1.262, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",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.00279/0.00279, allocations: 95.14 kB / 0.7403 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1881, allocations: 95.39 MB / 0.8335 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002975/0.191, allocations: 1.508 MB / 0.835 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1922, allocations: 0.6297 MB / 0.8356 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.1923, allocations: 3.938 kB / 0.8356 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.1923, allocations: 7.922 kB / 0.8356 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.1924, allocations: 11.92 kB / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.1927, allocations: 59.81 kB / 0.8357 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.022e-05/0.1927, allocations: 27.92 kB / 0.8357 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.846e-05/0.1928, allocations: 4 kB / 0.8357 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.193, allocations: 23.86 kB / 0.8357 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.193, allocations: 15.92 kB / 0.8357 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.193, allocations: 4 kB / 0.8357 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1931, allocations: 59.95 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.1932, allocations: 0 / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.1932, allocations: 19.86 kB / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1934, allocations: 72.02 kB / 0.8359 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1934, allocations: 0 / 0.8359 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1934, allocations: 0 / 0.8359 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1934, allocations: 0 / 0.8359 GB, free: 6.168 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004488/0.1938, allocations: 283 kB / 0.8362 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1939, allocations: 9.344 kB / 0.8362 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.546e-05/0.1939, allocations: 8.188 kB / 0.8362 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.1939, allocations: 30.75 kB / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1941, allocations: 16.88 kB / 0.8362 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1943, allocations: 118.4 kB / 0.8363 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.1943, allocations: 4.312 kB / 0.8363 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1943, allocations: 4.359 kB / 0.8363 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1944, allocations: 45.62 kB / 0.8364 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1944, allocations: 4 kB / 0.8364 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1945, allocations: 4 kB / 0.8364 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1945, allocations: 0 / 0.8364 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.1945, allocations: 19.98 kB / 0.8364 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.1948, allocations: 220 kB / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.549e-05/0.1949, allocations: 34.52 kB / 0.8366 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.195, allocations: 20.91 kB / 0.8367 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/0.1956, allocations: 87.88 kB / 0.8368 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1956, allocations: 34.56 kB / 0.8368 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1956, allocations: 7.875 kB / 0.8368 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002311/0.1959, allocations: 61.67 kB / 0.8369 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1959, allocations: 59.34 kB / 0.8369 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.196, allocations: 109.8 kB / 0.837 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.196, allocations: 25.7 kB / 0.837 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.1961, allocations: 92.12 kB / 0.8371 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.1961, allocations: 3.953 kB / 0.8371 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1961, allocations: 9.719 kB / 0.8371 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1963, allocations: 326.9 kB / 0.8375 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.1963, allocations: 7.984 kB / 0.8375 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.1964, allocations: 12 kB / 0.8375 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.964e-05/0.1964, allocations: 24.84 kB / 0.8375 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1964, allocations: 4 kB / 0.8375 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001326/0.1966, allocations: 61.62 kB / 0.8376 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1966, allocations: 8.031 kB / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.1966, allocations: 0 / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1966, allocations: 4 kB / 0.8376 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.1967, allocations: 4 kB / 0.8376 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1967, allocations: 0 / 0.8376 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.1967, allocations: 7.969 kB / 0.8376 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1967, allocations: 4 kB / 0.8376 GB, free: 4.234 MB / 0.5762 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 9.606e-05/0.1968, allocations: 114.4 kB / 0.8377 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1968, allocations: 8 kB / 0.8377 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.197, allocations: 61.3 kB / 0.8378 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.197, allocations: 0 / 0.8378 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.197, allocations: 0 / 0.8378 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.197, allocations: 0 / 0.8378 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1972, allocations: 140.6 kB / 0.8379 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1972, allocations: 3.938 kB / 0.8379 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.1972, allocations: 4 kB / 0.8379 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1972, allocations: 0 / 0.8379 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.1972, allocations: 32 / 0.8379 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1972, allocations: 4.375 kB / 0.8379 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1972, allocations: 0 / 0.8379 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1975, allocations: 155.5 kB / 0.8381 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.1975, allocations: 7.891 kB / 0.8381 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1975, allocations: 7.938 kB / 0.8381 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.1975, allocations: 0 / 0.8381 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.1976, allocations: 8.016 kB / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1976, allocations: 0 / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.1976, allocations: 91.27 kB / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1976, allocations: 0 / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002341/0.1979, allocations: 19.88 kB / 0.8382 GB, free: 3.543 MB / 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 (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.000552/0.1984, allocations: 0.6968 MB / 0.8389 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1985, allocations: 23.98 kB / 0.8389 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1986, allocations: 0 / 0.8389 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/0.1986, allocations: 19.92 kB / 0.8389 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1988, allocations: 0 / 0.8389 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.2002, allocations: 1.254 MB / 0.8401 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.2007, allocations: 0.6807 MB / 0.8408 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.2007, allocations: 3.938 kB / 0.8408 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.2007, allocations: 19.42 kB / 0.8408 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.2007, allocations: 0 / 0.8408 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.2224, allocations: 1.795 MB / 0.8426 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.14, allocations: 15.88 kB / 0.8426 GB, free: 15.05 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.393958980042953] Failed to read output from testmodel.py, exit status != 0: 11.305222002964001 11.333496839 11.135281006 Calling exit ...