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.001874/0.001874, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.002277/0.002277, allocations: 217.8 kB / 23 MB, free: 4.973 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9743/0.9743, 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.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.002369/0.002369, allocations: 66.95 kB / 0.6411 GB, free: 10.06 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2085, allocations: 89.18 MB / 0.7282 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002039/0.2105, allocations: 0.5935 MB / 0.7288 GB, free: 368 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2128, allocations: 1.431 MB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.2128, allocations: 0 / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.2129, allocations: 0 / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.802e-05/0.2129, allocations: 3.938 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.2135, allocations: 143.5 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.2136, allocations: 27.97 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.2136, allocations: 0 / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.2137, allocations: 11.98 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.2138, allocations: 31.89 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2138, allocations: 4 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.2142, allocations: 251.5 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.2142, allocations: 7.984 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.2143, allocations: 15.91 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.2146, allocations: 175.8 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2146, allocations: 0 / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2146, allocations: 0 / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2146, allocations: 3.938 kB / 0.7308 GB, free: 14.25 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.0006216/0.2152, allocations: 290 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.2153, allocations: 12.03 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.2153, allocations: 38.75 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.2158, allocations: 68.84 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.216, allocations: 106.5 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.216, allocations: 384 / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.216, allocations: 4.375 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.2163, allocations: 107.5 kB / 0.7314 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2163, allocations: 0 / 0.7314 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2163, allocations: 4 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2164, allocations: 3.984 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.2167, allocations: 63.92 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.2169, allocations: 128.8 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.2176, allocations: 122.5 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.2178, allocations: 44.92 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/0.2182, allocations: 79.89 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.2183, allocations: 42.5 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.2183, allocations: 0 / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001355/0.2196, allocations: 329 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.2197, allocations: 51.41 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.2198, allocations: 97.86 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2198, allocations: 25.7 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.2198, allocations: 80.14 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.2199, allocations: 23.84 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.2199, allocations: 17.72 kB / 0.7325 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2201, allocations: 323 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2203, allocations: 31.97 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.2204, allocations: 39.91 kB / 0.7329 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.2207, allocations: 76.73 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2207, allocations: 0 / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003729/0.2211, allocations: 117.6 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2211, allocations: 8 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2211, allocations: 0 / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2211, allocations: 4 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2213, allocations: 19.98 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2213, allocations: 7.922 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.2214, allocations: 11.98 kB / 0.7331 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2214, allocations: 7.938 kB / 0.7331 GB, free: 11.68 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 0.0001004/0.2215, allocations: 109.8 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.2215, allocations: 7.938 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.222, allocations: 137.3 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.222, allocations: 0 / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.222, allocations: 320 / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.222, allocations: 0 / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2222, allocations: 140.8 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2222, allocations: 7.938 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.2223, allocations: 23.92 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2223, allocations: 0 / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.2223, allocations: 3.984 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2223, allocations: 0 / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2224, allocations: 4 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.2229, allocations: 177 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.223, allocations: 11.95 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.223, allocations: 4.062 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2231, allocations: 11.98 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.2232, allocations: 7.984 kB / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.2232, allocations: 8 kB / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.2232, allocations: 75.28 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2232, allocations: 0 / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002507/0.2235, allocations: 31.86 kB / 0.7338 GB, free: 10.86 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.001112/0.2246, allocations: 0.7567 MB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.225, allocations: 79.98 kB / 0.7347 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.225, allocations: 0 / 0.7347 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.2252, allocations: 47.89 kB / 0.7347 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.2253, allocations: 5.719 kB / 0.7347 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.2276, allocations: 1.356 MB / 0.736 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.112e-05/0.2276, allocations: 67.28 kB / 0.7361 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.2277, allocations: 19.92 kB / 0.7361 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.2278, allocations: 27.42 kB / 0.7361 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.2278, allocations: 0 / 0.7361 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.2593, allocations: 2.601 MB / 0.7387 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.51, allocations: 8 kB / 0.7387 GB, free: 5.906 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.357857156079262] Failed to read output from testmodel.py, exit status != 0: 11.617262903600931 11.644651176 11.424867889 Calling exit ...