Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001432/0.001432, allocations: 117.9 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.001555/0.001555, allocations: 219.2 kB / 23 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9738/0.9738, allocations: 150 MB / 463.2 MB, free: 10.5 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.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.002065/0.002065, allocations: 74.95 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1799, allocations: 89.16 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002333/0.1822, allocations: 0.6071 MB / 0.729 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1847, allocations: 1.521 MB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.1847, allocations: 0 / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.1847, allocations: 0 / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.101e-05/0.1847, allocations: 8 kB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.1854, allocations: 143.2 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.1854, allocations: 23.98 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.1855, allocations: 11.97 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.1855, allocations: 19.92 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.1856, allocations: 23.91 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1856, allocations: 4 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.1862, allocations: 319.4 kB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.1862, allocations: 11.98 kB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.1862, allocations: 7.922 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.1866, allocations: 187.8 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1866, allocations: 0 / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1867, allocations: 0 / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1867, allocations: 0 / 0.7312 GB, free: 14.37 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005547/0.1872, allocations: 301.9 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1872, allocations: 8.031 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.1873, allocations: 30.75 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.1877, allocations: 68.84 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1879, allocations: 106.5 kB / 0.7317 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1879, allocations: 384 / 0.7317 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1879, allocations: 8.359 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.1882, allocations: 81.7 kB / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1882, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1882, allocations: 4 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1882, allocations: 0 / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.1885, allocations: 67.86 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.1887, allocations: 128.8 kB / 0.732 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.1893, allocations: 122.5 kB / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.1895, allocations: 48.97 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/0.1899, allocations: 83.83 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.19, allocations: 34.5 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.19, allocations: 4 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001188/0.1912, allocations: 329 kB / 0.7326 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1912, allocations: 51.41 kB / 0.7326 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.1913, allocations: 97.86 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.1913, allocations: 29.69 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.1914, allocations: 80.14 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.1914, allocations: 23.84 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.1914, allocations: 21.84 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.1916, allocations: 318.8 kB / 0.7332 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1918, allocations: 31.97 kB / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1919, allocations: 35.97 kB / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.1922, allocations: 80.98 kB / 0.7333 GB, free: 12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1922, allocations: 0 / 0.7333 GB, free: 12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003716/0.1926, allocations: 121.5 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1926, allocations: 7.938 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1926, allocations: 0 / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1926, allocations: 4 kB / 0.7334 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1928, allocations: 23.97 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1928, allocations: 0 / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.84e-05/0.1929, allocations: 11.98 kB / 0.7335 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1929, allocations: 4 kB / 0.7335 GB, free: 11.82 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 (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 prepare postOptimizeDAE: time 9.179e-05/0.193, allocations: 115.8 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.193, allocations: 3.938 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.1935, allocations: 137.2 kB / 0.7337 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1935, allocations: 4 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1935, allocations: 4 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1935, allocations: 0 / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.1936, allocations: 136.7 kB / 0.7338 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1936, allocations: 3.938 kB / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1938, allocations: 23.97 kB / 0.7339 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1938, allocations: 4 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1938, allocations: 0 / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1938, allocations: 3.938 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1938, allocations: 4 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005722/0.1944, allocations: 185.1 kB / 0.7341 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.1944, allocations: 12.02 kB / 0.7341 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1944, allocations: 4 kB / 0.7341 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1945, allocations: 20.03 kB / 0.7341 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.1946, allocations: 4 kB / 0.7341 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1946, allocations: 4 kB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.1946, allocations: 75.28 kB / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1946, allocations: 0 / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002327/0.1949, allocations: 35.86 kB / 0.7342 GB, free: 10.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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.0009928/0.1958, allocations: 0.7567 MB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.1962, allocations: 80 kB / 0.735 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1962, allocations: 0 / 0.735 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.1964, allocations: 51.83 kB / 0.7351 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.1965, allocations: 0 / 0.7351 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.1988, allocations: 1.352 MB / 0.7364 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1991, allocations: 0.6806 MB / 0.7371 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.064e-05/0.1992, allocations: 20 kB / 0.7371 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.1993, allocations: 15.44 kB / 0.7371 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.1993, allocations: 0 / 0.7371 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.2415, allocations: 2.189 MB / 0.7392 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.51, allocations: 9.328 kB / 0.7392 GB, free: 5.836 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.477978160837665] Failed to read output from testmodel.py, exit status != 0: 11.612936284858733 11.631911091 11.441944582 Calling exit ...