Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007827/0.0007827, allocations: 100.3 kB / 19.72 MB, free: 428 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.0008347/0.0008347, allocations: 218.8 kB / 23.03 MB, free: 2.949 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 1.024/1.024, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.005/2.005, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 75.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7588, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001573/0.7604, allocations: 0.7847 MB / 1.353 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.7617, allocations: 1.458 MB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.7618, allocations: 0 / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.7618, allocations: 3.938 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.909e-05/0.7618, allocations: 7.938 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.7623, allocations: 144.3 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.7623, allocations: 55.7 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.7624, allocations: 7.906 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.7624, allocations: 23.92 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.7625, allocations: 31.84 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.7625, allocations: 4 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.7628, allocations: 251.5 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.7628, allocations: 11.98 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.7628, allocations: 27.84 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.7631, allocations: 209.6 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7631, allocations: 0 / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7631, allocations: 0 / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7631, allocations: 0 / 1.355 GB, free: 14.67 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004732/0.7635, allocations: 325.8 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7636, allocations: 8.922 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.7636, allocations: 38.75 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.7639, allocations: 72.8 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.7639, allocations: 106.5 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.764, allocations: 8.375 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.764, allocations: 8.375 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.7642, allocations: 170.3 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7642, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7643, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7643, allocations: 4 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.7645, allocations: 99.89 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.7649, allocations: 303.7 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.7653, allocations: 158.4 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.7654, allocations: 56.81 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.7654, allocations: 0 / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.7654, allocations: 30.56 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7654, allocations: 0 / 1.357 GB, free: 13.17 MB / 1.042 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.008987/0.7744, allocations: 2.694 MB / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.7744, allocations: 63.28 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.7745, allocations: 101.8 kB / 1.36 GB, free: 10.23 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.7745, allocations: 25.7 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.7746, allocations: 92.09 kB / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.7746, allocations: 43.61 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.7748, allocations: 69.58 kB / 1.36 GB, free: 9.992 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.7748, allocations: 314.8 kB / 1.36 GB, free: 9.676 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.7752, allocations: 199.7 kB / 1.36 GB, free: 9.48 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.7756, allocations: 191.8 kB / 1.36 GB, free: 9.293 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.7763, allocations: 389.8 kB / 1.361 GB, free: 8.91 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.7763, allocations: 0 / 1.361 GB, free: 8.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008734/0.7772, allocations: 486 kB / 1.361 GB, free: 8.43 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7772, allocations: 8 kB / 1.361 GB, free: 8.422 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7772, allocations: 0 / 1.361 GB, free: 8.422 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7772, allocations: 0 / 1.361 GB, free: 8.422 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.7776, allocations: 107.7 kB / 1.361 GB, free: 8.316 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.7776, allocations: 4 kB / 1.361 GB, free: 8.312 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.7779, allocations: 43.94 kB / 1.361 GB, free: 8.27 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.7779, allocations: 31.92 kB / 1.361 GB, free: 8.238 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 (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 9.942e-05/0.778, allocations: 109.8 kB / 1.362 GB, free: 8.121 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.7781, allocations: 7.953 kB / 1.362 GB, free: 8.113 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.7781, allocations: 16.06 kB / 1.362 GB, free: 8.094 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7781, allocations: 3.938 kB / 1.362 GB, free: 8.09 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7781, allocations: 3.938 kB / 1.362 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7781, allocations: 7.984 kB / 1.362 GB, free: 8.078 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.7795, allocations: 0.9835 MB / 1.363 GB, free: 6.996 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7795, allocations: 0 / 1.363 GB, free: 6.996 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.7798, allocations: 107.7 kB / 1.363 GB, free: 6.891 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7798, allocations: 0 / 1.363 GB, free: 6.891 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.7799, allocations: 27.86 kB / 1.363 GB, free: 6.863 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7799, allocations: 4 kB / 1.363 GB, free: 6.859 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7799, allocations: 0 / 1.363 GB, free: 6.859 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.7813, allocations: 0.7947 MB / 1.363 GB, free: 6.051 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.791e-05/0.7814, allocations: 39.8 kB / 1.364 GB, free: 6.012 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.7814, allocations: 7.984 kB / 1.364 GB, free: 6.004 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.7817, allocations: 43.94 kB / 1.364 GB, free: 5.961 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.7818, allocations: 32.08 kB / 1.364 GB, free: 5.93 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.7818, allocations: 27.88 kB / 1.364 GB, free: 5.902 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.029e-05/0.7819, allocations: 83.27 kB / 1.364 GB, free: 5.82 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7819, allocations: 0 / 1.364 GB, free: 5.82 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002534/0.7821, allocations: 52 kB / 1.364 GB, free: 5.77 MB / 1.042 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.001699/0.7838, allocations: 1.352 MB / 1.365 GB, free: 4.391 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0008119/0.7846, allocations: 419.6 kB / 1.365 GB, free: 3.98 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7846, allocations: 0 / 1.365 GB, free: 3.98 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.785, allocations: 219.7 kB / 1.366 GB, free: 3.766 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.7853, allocations: 14.05 kB / 1.366 GB, free: 3.754 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.7899, allocations: 2.929 MB / 1.369 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.908e-05/0.79, allocations: 79.27 kB / 1.369 GB, free: 0.6445 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.7903, allocations: 93.08 kB / 1.369 GB, free: 0.5547 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.7905, allocations: 75.23 kB / 1.369 GB, free: 492 kB / 1.042 GB Notification: Performance of SimCode: time 7.22e-07/0.7905, allocations: 0 / 1.369 GB, free: 492 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/0.8754, allocations: 5.335 MB / 1.374 GB, free: 11.29 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/7.62, allocations: 9.141 kB / 1.374 GB, free: 11.28 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy_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 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.681300196796656]