Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001007/0.001007, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.0009522/0.0009522, allocations: 215.8 kB / 23.02 MB, free: 2.957 MB / 13.93 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 0.9995/0.9995, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.035/2.035, allocations: 0.5045 GB / 0.8104 GB, free: 2.727 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 67.84 kB / 1.177 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7732, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00148/0.7747, allocations: 0.6169 MB / 1.353 GB, free: 1.023 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.7761, allocations: 1.43 MB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.7761, allocations: 3.938 kB / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.7761, allocations: 4 kB / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.7761, allocations: 0 / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.7766, allocations: 143.4 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.735e-05/0.7766, allocations: 27.97 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.7767, allocations: 4 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.7767, allocations: 19.98 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.7768, allocations: 19.91 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.7768, allocations: 4 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.7771, allocations: 243.5 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.7771, allocations: 11.92 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.7771, allocations: 15.92 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.7773, allocations: 177.9 kB / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7773, allocations: 0 / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7773, allocations: 0 / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7774, allocations: 4 kB / 1.355 GB, free: 14.91 MB / 1.042 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.0004284/0.7778, allocations: 297.9 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7778, allocations: 8.922 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.7779, allocations: 30.75 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.7781, allocations: 68.84 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.7782, allocations: 110.5 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.7782, allocations: 12.31 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.7782, allocations: 384 / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.7784, allocations: 111.4 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.7784, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.7784, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7784, allocations: 4 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.7786, allocations: 63.88 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.7787, allocations: 136.7 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.7791, allocations: 118.5 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.7792, allocations: 44.98 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.7794, allocations: 79.89 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.7794, allocations: 34.5 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.7794, allocations: 0 / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=5): time 0.0007011/0.7801, allocations: 337 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.7802, allocations: 55.41 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.7802, allocations: 89.86 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.7802, allocations: 33.83 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.7802, allocations: 80.14 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.7803, allocations: 19.83 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.7803, allocations: 21.72 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.7804, allocations: 314.8 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.7805, allocations: 31.97 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.7805, allocations: 39.97 kB / 1.357 GB, free: 12.6 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.7807, allocations: 80.8 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.7807, allocations: 0 / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001857/0.7809, allocations: 125.6 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.7809, allocations: 4 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.7809, allocations: 0 / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.7809, allocations: 3.938 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.781, allocations: 19.98 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.781, allocations: 0 / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.781, allocations: 23.97 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.781, allocations: 4 kB / 1.357 GB, free: 12.33 MB / 1.042 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 5.434e-05/0.7811, allocations: 106.4 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.7811, allocations: 7.938 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.7815, allocations: 137.3 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7815, allocations: 4 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7815, allocations: 0 / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.7815, allocations: 3.938 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.076e-05/0.7816, allocations: 132.8 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7816, allocations: 3.938 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.7817, allocations: 19.98 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7817, allocations: 0 / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.7817, allocations: 7.984 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.7817, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7817, allocations: 4 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.782, allocations: 188.9 kB / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.782, allocations: 11.95 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.782, allocations: 0 / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.7821, allocations: 16.31 kB / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.7821, allocations: 3.984 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.7821, allocations: 4.188 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.218e-05/0.7821, allocations: 79.34 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7821, allocations: 4 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001549/0.7823, allocations: 35.86 kB / 1.358 GB, free: 11.5 MB / 1.042 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.0005205/0.7828, allocations: 0.7412 MB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.783, allocations: 87.92 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.783, allocations: 0 / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.78e-05/0.7831, allocations: 47.95 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.7832, allocations: 3.984 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.7843, allocations: 1.344 MB / 1.36 GB, free: 9.168 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.7844, allocations: 75.2 kB / 1.36 GB, free: 9.074 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.399e-05/0.7844, allocations: 19.98 kB / 1.36 GB, free: 9.055 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.7845, allocations: 15.44 kB / 1.36 GB, free: 9.039 MB / 1.042 GB Notification: Performance of SimCode: time 9.62e-07/0.7845, allocations: 0 / 1.36 GB, free: 9.039 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07923/0.8637, allocations: 2.62 MB / 1.363 GB, free: 6.562 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/7.713, allocations: 0.5 kB / 1.363 GB, free: 6.562 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.698936271481216]