Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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: 119 kB / 19.69 MB, free: 2.199 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.002007/0.002007, allocations: 221.2 kB / 23.01 MB, free: 5.047 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 1.029/1.029, 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.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.002039/0.002039, allocations: 66.61 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2165, allocations: 89.17 MB / 0.7284 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001982/0.2185, allocations: 0.7917 MB / 0.7292 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2206, allocations: 1.544 MB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.2207, allocations: 0 / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.2207, allocations: 3.938 kB / 0.7307 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.2207, allocations: 3.938 kB / 0.7307 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.2213, allocations: 147.4 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2214, allocations: 51.84 kB / 0.7309 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.2214, allocations: 4 kB / 0.7309 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.2215, allocations: 27.91 kB / 0.7309 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.2216, allocations: 35.89 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2216, allocations: 4 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.2221, allocations: 323.4 kB / 0.7313 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.2221, allocations: 15.92 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.2222, allocations: 27.84 kB / 0.7313 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.2225, allocations: 203.7 kB / 0.7315 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2225, allocations: 7.938 kB / 0.7315 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2225, allocations: 0 / 0.7315 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2225, allocations: 0 / 0.7315 GB, free: 14.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000654/0.2232, allocations: 325.8 kB / 0.7318 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2232, allocations: 12.03 kB / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.2232, allocations: 34.75 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.2237, allocations: 72.8 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2238, allocations: 114.4 kB / 0.732 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.2238, allocations: 8.375 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2239, allocations: 12.33 kB / 0.732 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.2243, allocations: 113.7 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2243, allocations: 0 / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2243, allocations: 0 / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2243, allocations: 4 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.2248, allocations: 107.9 kB / 0.7323 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.2254, allocations: 307.7 kB / 0.7326 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.226, allocations: 146.5 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2263, allocations: 56.8 kB / 0.7327 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2263, allocations: 0 / 0.7327 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.2263, allocations: 46.5 kB / 0.7328 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2263, allocations: 0 / 0.7328 GB, free: 12.6 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01842/0.2448, allocations: 2.684 MB / 0.7354 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.2448, allocations: 59.34 kB / 0.7355 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.2449, allocations: 97.86 kB / 0.7356 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.245, allocations: 29.69 kB / 0.7356 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.245, allocations: 96.03 kB / 0.7357 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.2451, allocations: 39.64 kB / 0.7357 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2453, allocations: 69.58 kB / 0.7358 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2454, allocations: 318.8 kB / 0.7361 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006348/0.2461, allocations: 187.8 kB / 0.7363 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.2467, allocations: 198.9 kB / 0.7365 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.2481, allocations: 396.5 kB / 0.7368 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2481, allocations: 0 / 0.7368 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001537/0.2496, allocations: 481.3 kB / 0.7373 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2496, allocations: 5.875 kB / 0.7373 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2497, allocations: 0 / 0.7373 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2497, allocations: 7.938 kB / 0.7373 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/0.2505, allocations: 107.7 kB / 0.7374 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2505, allocations: 0 / 0.7374 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.2511, allocations: 51.94 kB / 0.7375 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.2512, allocations: 23.92 kB / 0.7375 GB, free: 7.684 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 (13): * Single equations (assignments): 13 * 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.0001699/0.2513, allocations: 119.8 kB / 0.7376 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.2514, allocations: 4 kB / 0.7376 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.2515, allocations: 16.06 kB / 0.7376 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2515, allocations: 3.938 kB / 0.7376 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2515, allocations: 4 kB / 0.7376 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2515, allocations: 0 / 0.7376 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.2539, allocations: 1.024 MB / 0.7386 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2539, allocations: 3.938 kB / 0.7386 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/0.2547, allocations: 111.7 kB / 0.7387 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2547, allocations: 0 / 0.7387 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.2548, allocations: 19.94 kB / 0.7388 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2548, allocations: 0 / 0.7388 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2548, allocations: 3.984 kB / 0.7388 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.2571, allocations: 0.7879 MB / 0.7395 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.2572, allocations: 43.81 kB / 0.7396 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.2573, allocations: 4.062 kB / 0.7396 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.258, allocations: 51.92 kB / 0.7396 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.2581, allocations: 23.92 kB / 0.7396 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.2581, allocations: 27.94 kB / 0.7397 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.2582, allocations: 83.28 kB / 0.7398 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2582, allocations: 0 / 0.7398 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003827/0.2585, allocations: 55.95 kB / 0.7398 GB, free: 5.176 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.002805/0.2614, allocations: 1.349 MB / 0.7411 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.2628, allocations: 422.7 kB / 0.7415 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2628, allocations: 4 kB / 0.7415 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.2635, allocations: 219.7 kB / 0.7417 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.2639, allocations: 8 kB / 0.7417 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008767/0.2727, allocations: 2.938 MB / 0.7446 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.273, allocations: 0.6924 MB / 0.7453 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005019/0.2735, allocations: 89.69 kB / 0.7454 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.2738, allocations: 63.3 kB / 0.7454 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.2738, allocations: 4 kB / 0.7454 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.3083, allocations: 4.788 MB / 0.7501 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.36, allocations: 4.062 kB / 0.7501 GB, free: 10.62 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.69923395299702] Failed to read output from testmodel.py, exit status != 0: 11.476850408002065 11.860446533 11.634821572 Calling exit ...