Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008465/0.0008465, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009335/0.0009335, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.8747/0.8747, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.812/1.812, allocations: 389.1 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.653e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001323/0.001339, allocations: 0.5984 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.002639, allocations: 1.436 MB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.002663, allocations: 7.875 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.002677, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.506e-05/0.002702, allocations: 4 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.003108, allocations: 139.4 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.003171, allocations: 27.92 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.003211, allocations: 7.984 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.003263, allocations: 19.97 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.003328, allocations: 23.97 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.003342, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.003602, allocations: 247.5 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.003618, allocations: 7.984 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.003641, allocations: 15.91 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.003888, allocations: 203.5 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.00389, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003891, allocations: 4 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003895, allocations: 0 / 1.002 GB, free: 10.69 MB / 0.9636 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.0004119/0.004307, allocations: 286 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.004353, allocations: 12.75 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.004388, allocations: 34.73 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.004662, allocations: 68.81 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.004751, allocations: 105.8 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.004775, allocations: 4.375 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.004795, allocations: 4.375 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.004983, allocations: 103.8 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.004991, allocations: 192 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.005004, allocations: 4.125 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.005009, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.00517, allocations: 67.92 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.00533, allocations: 132.8 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.005704, allocations: 118.5 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.005798, allocations: 48.91 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.00605, allocations: 71.91 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.006073, allocations: 38.5 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.006074, allocations: 0 / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0007506/0.006825, allocations: 337.2 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.006854, allocations: 55.41 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/0.006905, allocations: 101.8 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.006918, allocations: 25.7 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.006944, allocations: 84.08 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.006975, allocations: 23.8 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.007014, allocations: 21.7 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.007093, allocations: 318.8 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.00718, allocations: 32.09 kB / 1.004 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.007258, allocations: 43.95 kB / 1.004 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.007416, allocations: 68.81 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.007417, allocations: 0 / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002017/0.007619, allocations: 117.6 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.007633, allocations: 8 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.007639, allocations: 3.938 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.007652, allocations: 0 / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.00773, allocations: 23.97 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.007736, allocations: 0 / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.00778, allocations: 15.98 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.007788, allocations: 4 kB / 1.005 GB, free: 8.129 MB / 0.9636 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.958e-05/0.007848, allocations: 109.8 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.007858, allocations: 0 / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.008145, allocations: 145.3 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.008147, allocations: 0 / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.008151, allocations: 0 / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.008154, allocations: 0 / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.008257, allocations: 141 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008259, allocations: 0 / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.008335, allocations: 27.97 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008337, allocations: 0 / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.008346, allocations: 3.938 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008347, allocations: 4 kB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.008348, allocations: 0 / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.008666, allocations: 188.9 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.008705, allocations: 8.016 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.008719, allocations: 7.922 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.00877, allocations: 11.98 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.008789, allocations: 4 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.008796, allocations: 12.06 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.008821, allocations: 83.2 kB / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008821, allocations: 0 / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001662/0.008987, allocations: 27.88 kB / 1.005 GB, free: 7.289 MB / 0.9636 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.0005414/0.009529, allocations: 0.749 MB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.00975, allocations: 91.86 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009751, allocations: 0 / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.009831, allocations: 47.91 kB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.00995, allocations: 4 kB / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.01137, allocations: 1.348 MB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.0114, allocations: 67.28 kB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.338e-05/0.01147, allocations: 16 kB / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.01152, allocations: 20.48 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.01152, allocations: 0 / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.02859, allocations: 2.749 MB / 1.01 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/6.924, allocations: 12 kB / 1.01 GB, free: 2.203 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.091562704183161] Failed to read output from testmodel.py, exit status != 0: 7.006848544813693 7.01599882 7.010427436 Calling exit ...