Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000817/0.000817, 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.0008358/0.0008358, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9319/0.9319, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.676/1.676, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.9506 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.356e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001544/0.001567, allocations: 0.6025 MB / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.00302, allocations: 1.432 MB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.003049, allocations: 4 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.003069, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.0031, allocations: 3.938 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.003616, allocations: 143.4 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.003681, allocations: 31.92 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.00372, allocations: 3.984 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.003774, allocations: 19.98 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.003843, allocations: 19.97 kB / 0.9528 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.00386, allocations: 4 kB / 0.9528 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.004136, allocations: 255.4 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.004152, allocations: 7.984 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.004173, allocations: 7.984 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.004491, allocations: 195.6 kB / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004494, allocations: 0 / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.274e-06/0.004497, allocations: 8 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.004501, allocations: 3.938 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 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.0004027/0.004904, allocations: 293.8 kB / 0.9535 GB, free: 392 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.004946, allocations: 8.031 kB / 0.9535 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.004979, allocations: 38.73 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.005253, allocations: 60.86 kB / 0.9536 GB, free: 276 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.928e-05/0.005343, allocations: 117.7 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.005365, allocations: 384 / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.005386, allocations: 4.375 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.005593, allocations: 103.9 kB / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005601, allocations: 192 / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.005616, allocations: 4.125 kB / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005622, allocations: 0 / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.005797, allocations: 67.92 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.005969, allocations: 140.7 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.006363, allocations: 118.5 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.006464, allocations: 48.91 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.006723, allocations: 71.91 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.006751, allocations: 34.56 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.006752, allocations: 4 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5): time 0.0008131/0.007565, allocations: 333 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.007601, allocations: 51.41 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.00766, allocations: 101.8 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.007673, allocations: 25.7 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.0077, allocations: 84.14 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.007729, allocations: 15.84 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.007774, allocations: 21.7 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.007858, allocations: 310.8 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/0.007954, allocations: 35.97 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.008028, allocations: 36.09 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.008196, allocations: 84.73 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008197, allocations: 0 / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002131/0.00841, allocations: 113.6 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.008427, allocations: 4 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.008434, allocations: 7.875 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.008449, allocations: 4 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.008533, allocations: 23.97 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.008539, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.008587, allocations: 19.98 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.008594, allocations: 0 / 0.9555 GB, free: 14.13 MB / 0.9167 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 7.115e-05/0.008665, allocations: 113.8 kB / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.008677, allocations: 0 / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.00897, allocations: 145.3 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008973, allocations: 4 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.008977, allocations: 0 / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.00898, allocations: 0 / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.534e-05/0.009076, allocations: 128.8 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009077, allocations: 0 / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.009163, allocations: 24.28 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.009166, allocations: 4 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.00918, allocations: 11.94 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.009182, allocations: 4 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009183, allocations: 0 / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.009533, allocations: 181.3 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.009582, allocations: 11.97 kB / 0.9561 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.0096, allocations: 7.922 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.009657, allocations: 11.98 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.009684, allocations: 11.98 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.009691, allocations: 64 / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.00972, allocations: 87.27 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.00972, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001871/0.009907, allocations: 27.88 kB / 0.9562 GB, free: 13.3 MB / 0.9167 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.0006802/0.01059, allocations: 0.7451 MB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.01083, allocations: 87.92 kB / 0.9571 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01083, allocations: 0 / 0.9571 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.01092, allocations: 47.91 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.01107, allocations: 9.656 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.01241, allocations: 1.356 MB / 0.9584 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.01245, allocations: 67.41 kB / 0.9585 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.789e-05/0.01252, allocations: 20.06 kB / 0.9585 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.01257, allocations: 16.48 kB / 0.9585 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/0.01257, allocations: 0 / 0.9585 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.03031, allocations: 2.741 MB / 0.9612 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.049, allocations: 10.69 kB / 0.9612 GB, free: 8.207 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.100623723119497] Failed to read output from testmodel.py, exit status != 0: 7.13357884157449 7.142244808 7.135960084 Calling exit ...