Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001313/0.001313, allocations: 109 kB / 20.48 MB, free: 1.473 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.001461/0.001461, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.474/1.474, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9653/0.9653, allocations: 150 MB / 464 MB, free: 10.92 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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",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.002915/0.002915, allocations: 74.42 kB / 0.6421 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1873, allocations: 89.17 MB / 0.7292 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001831/0.1892, allocations: 0.6109 MB / 0.7298 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004399/0.1896, allocations: 159.5 kB / 0.7299 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.1896, allocations: 0 / 0.7299 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.1896, allocations: 7.938 kB / 0.7299 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.709e-05/0.1897, allocations: 0 / 0.7299 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.19, allocations: 31.89 kB / 0.7299 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.1901, allocations: 15.98 kB / 0.73 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.1901, allocations: 4 kB / 0.73 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.955e-05/0.1901, allocations: 4 kB / 0.73 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.1902, allocations: 15.92 kB / 0.73 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1902, allocations: 4 kB / 0.73 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.1903, allocations: 35.95 kB / 0.73 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.1904, allocations: 4 kB / 0.73 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.1904, allocations: 7.938 kB / 0.73 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1905, allocations: 35.81 kB / 0.7301 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.1905, allocations: 4 kB / 0.7301 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.063e-06/0.1905, allocations: 0 / 0.7301 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.1905, allocations: 0 / 0.7301 GB, free: 0.5703 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004338/0.191, allocations: 250.3 kB / 0.7303 GB, free: 300 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.191, allocations: 16.03 kB / 0.7303 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.518e-05/0.191, allocations: 192 / 0.7303 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.1911, allocations: 34.75 kB / 0.7304 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1911, allocations: 8.891 kB / 0.7304 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1912, allocations: 106.5 kB / 0.7305 GB, free: 100 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1912, allocations: 384 / 0.7305 GB, free: 100 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1913, allocations: 8.359 kB / 0.7305 GB, free: 92 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1914, allocations: 53.94 kB / 0.7305 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1914, allocations: 0 / 0.7305 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1914, allocations: 4 kB / 0.7305 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1914, allocations: 0 / 0.7305 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.1915, allocations: 15.92 kB / 0.7305 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.1917, allocations: 128.8 kB / 0.7307 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1918, allocations: 42.56 kB / 0.7307 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.1918, allocations: 20.97 kB / 0.7307 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.423e-05/0.1919, allocations: 4 kB / 0.7307 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.1919, allocations: 38.5 kB / 0.7308 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1919, allocations: 0 / 0.7308 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001318/0.1932, allocations: 415.2 kB / 0.7312 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1933, allocations: 51.41 kB / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.1934, allocations: 89.86 kB / 0.7313 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1934, allocations: 29.7 kB / 0.7313 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.1934, allocations: 88.27 kB / 0.7314 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1935, allocations: 23.8 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.1935, allocations: 21.72 kB / 0.7315 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1937, allocations: 310.8 kB / 0.7318 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.1937, allocations: 15.98 kB / 0.7318 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.1937, allocations: 12.08 kB / 0.7318 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/0.1938, allocations: 44.86 kB / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.1938, allocations: 0 / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001255/0.1939, allocations: 77.61 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1939, allocations: 8 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1939, allocations: 0 / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1939, allocations: 3.984 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.194, allocations: 15.98 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.194, allocations: 0 / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1941, allocations: 0 / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.1941, allocations: 4 kB / 0.7319 GB, free: 14.42 MB / 0.5606 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 (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 9.612e-05/0.1942, allocations: 117.8 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.1942, allocations: 11.89 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.1944, allocations: 85.52 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1944, allocations: 7.938 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1944, allocations: 0 / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1944, allocations: 0 / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.1945, allocations: 136.7 kB / 0.7323 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1945, allocations: 3.938 kB / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.1946, allocations: 12 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1946, allocations: 192 / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1946, allocations: 4 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1946, allocations: 11.94 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1946, allocations: 0 / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1948, allocations: 109.1 kB / 0.7324 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.1949, allocations: 15.88 kB / 0.7324 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1949, allocations: 4.031 kB / 0.7324 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/0.1949, allocations: 0 / 0.7324 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.1949, allocations: 7.984 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.1949, allocations: 0 / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.195, allocations: 83.34 kB / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.195, allocations: 4 kB / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002218/0.1952, allocations: 27.94 kB / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0006681/0.1959, allocations: 0.6709 MB / 0.7332 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.196, allocations: 44.39 kB / 0.7332 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.196, allocations: 3.938 kB / 0.7332 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.196, allocations: 24.14 kB / 0.7333 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1962, allocations: 5.422 kB / 0.7333 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1974, allocations: 1.2 MB / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1977, allocations: 0.6807 MB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.1978, allocations: 11.94 kB / 0.7351 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.1978, allocations: 23.36 kB / 0.7351 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1978, allocations: 0 / 0.7351 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.2208, allocations: 1.959 MB / 0.7371 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.29, allocations: 12.17 kB / 0.7371 GB, free: 9.137 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.128920319955796] Failed to read output from testmodel.py, exit status != 0: 11.456943599972874 11.480141592 11.28637317 Calling exit ...