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.001404/0.001404, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001532/0.001532, allocations: 213 kB / 22.99 MB, free: 4.602 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9928/0.9928, allocations: 149.9 MB / 463 MB, free: 10.34 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.002149/0.002149, allocations: 63.25 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1835, allocations: 89.18 MB / 0.7282 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001968/0.1855, allocations: 0.5978 MB / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.186, allocations: 147.5 kB / 0.7289 GB, free: 232 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.186, allocations: 3.938 kB / 0.7289 GB, free: 228 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.186, allocations: 0 / 0.7289 GB, free: 228 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.483e-05/0.186, allocations: 0 / 0.7289 GB, free: 228 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1864, allocations: 43.83 kB / 0.729 GB, free: 184 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1864, allocations: 11.98 kB / 0.729 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1865, allocations: 8 kB / 0.729 GB, free: 164 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.1865, allocations: 7.984 kB / 0.729 GB, free: 156 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.1866, allocations: 7.938 kB / 0.729 GB, free: 148 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1866, allocations: 0 / 0.729 GB, free: 148 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.1867, allocations: 35.95 kB / 0.729 GB, free: 112 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.1867, allocations: 7.984 kB / 0.729 GB, free: 104 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.1867, allocations: 4 kB / 0.729 GB, free: 100 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1868, allocations: 36.11 kB / 0.7291 GB, free: 64 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1868, allocations: 3.938 kB / 0.7291 GB, free: 60 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1868, allocations: 0 / 0.7291 GB, free: 60 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1868, allocations: 0 / 0.7291 GB, free: 60 kB / 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.0004077/0.1872, allocations: 254.3 kB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1873, allocations: 8.031 kB / 0.7293 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1873, allocations: 38.73 kB / 0.7294 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.1873, allocations: 8.891 kB / 0.7294 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.361e-05/0.1874, allocations: 110.5 kB / 0.7295 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1874, allocations: 4.375 kB / 0.7295 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1875, allocations: 384 / 0.7295 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1876, allocations: 67.95 kB / 0.7296 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1876, allocations: 3.938 kB / 0.7296 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1876, allocations: 4 kB / 0.7296 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1876, allocations: 0 / 0.7296 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.1877, allocations: 11.98 kB / 0.7296 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.1878, allocations: 136.8 kB / 0.7297 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/0.1879, allocations: 46.5 kB / 0.7297 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.188, allocations: 24.98 kB / 0.7298 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.188, allocations: 4 kB / 0.7298 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1881, allocations: 30.56 kB / 0.7298 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1881, allocations: 0 / 0.7298 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001242/0.1893, allocations: 410.9 kB / 0.7302 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1893, allocations: 55.41 kB / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.1894, allocations: 89.86 kB / 0.7303 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1894, allocations: 25.7 kB / 0.7304 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1895, allocations: 88.08 kB / 0.7304 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1895, allocations: 31.86 kB / 0.7305 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.1896, allocations: 21.72 kB / 0.7305 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1898, allocations: 318.8 kB / 0.7308 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.1898, allocations: 12 kB / 0.7308 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.1898, allocations: 12.06 kB / 0.7308 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.456e-05/0.1899, allocations: 36.84 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1899, allocations: 0 / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001223/0.19, allocations: 73.62 kB / 0.7309 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.19, allocations: 7.938 kB / 0.7309 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1901, allocations: 0 / 0.7309 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1901, allocations: 448 / 0.7309 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.1902, allocations: 23.92 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1902, allocations: 0 / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.1902, allocations: 4 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1902, allocations: 4 kB / 0.731 GB, free: 13.88 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 0.0001015/0.1903, allocations: 109.8 kB / 0.7311 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.1903, allocations: 11.89 kB / 0.7311 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.1905, allocations: 89.48 kB / 0.7312 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1905, allocations: 4 kB / 0.7312 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1905, allocations: 0 / 0.7312 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1905, allocations: 4 kB / 0.7312 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1907, allocations: 128.8 kB / 0.7313 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1907, allocations: 0 / 0.7313 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.1908, allocations: 23.86 kB / 0.7313 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1908, allocations: 0 / 0.7313 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1908, allocations: 4 kB / 0.7313 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.1908, allocations: 4 kB / 0.7313 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1908, allocations: 0 / 0.7313 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.191, allocations: 113 kB / 0.7314 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.191, allocations: 11.92 kB / 0.7314 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1911, allocations: 4 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.1911, allocations: 4.062 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.1911, allocations: 7.984 kB / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1911, allocations: 4 kB / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.1912, allocations: 75.28 kB / 0.7315 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1912, allocations: 0 / 0.7315 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002411/0.1914, allocations: 35.92 kB / 0.7316 GB, free: 13.18 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.0006237/0.192, allocations: 0.6752 MB / 0.7322 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1922, allocations: 40.05 kB / 0.7323 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1922, allocations: 4.156 kB / 0.7323 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.1922, allocations: 19.94 kB / 0.7323 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.1924, allocations: 8.219 kB / 0.7323 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1936, allocations: 1.2 MB / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/0.1937, allocations: 67.34 kB / 0.7335 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.1937, allocations: 4 kB / 0.7335 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1938, allocations: 15.5 kB / 0.7336 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1938, allocations: 0 / 0.7336 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.2231, allocations: 2.309 MB / 0.7358 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.59, allocations: 7.328 kB / 0.7358 GB, free: 8.887 MB / 0.5606 GB " [Timeout remaining time 648] (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.484277447219938] Failed to read output from testmodel.py, exit status != 0: 11.704506122972816 11.724266724 11.53410767 Calling exit ...