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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 114 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002303/0.002303, allocations: 71.89 kB / 1.107 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 168.7 MB / 1.272 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001896/1.022, allocations: 0.6257 MB / 1.272 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001781/1.024, allocations: 1.459 MB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/1.024, allocations: 0.75 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/1.024, allocations: 0 / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.273e-05/1.024, allocations: 3.938 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/1.024, allocations: 142.4 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.081e-05/1.024, allocations: 35.11 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/1.024, allocations: 1.281 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/1.024, allocations: 18.7 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/1.024, allocations: 21.97 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/1.024, allocations: 9.969 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/1.025, allocations: 316.3 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/1.025, allocations: 11.17 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/1.025, allocations: 7.484 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/1.025, allocations: 188.3 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.025, allocations: 0.9688 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.025, allocations: 0 / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.19e-06/1.025, allocations: 0 / 1.274 GB, free: 6.043 MB / 0.9981 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.000493/1.026, allocations: 368.3 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.026, allocations: 14.28 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/1.026, allocations: 35.66 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/1.026, allocations: 66 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/1.026, allocations: 171 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.026, allocations: 1.344 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/1.026, allocations: 6.125 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/1.027, allocations: 80.16 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.027, allocations: 0 / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.027, allocations: 4.906 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.027, allocations: 8.641 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/1.027, allocations: 69.17 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/1.027, allocations: 160.2 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/1.028, allocations: 121.8 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/1.028, allocations: 44.41 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/1.028, allocations: 156.6 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/1.028, allocations: 35.25 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/1.028, allocations: 0.875 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.001254/1.03, allocations: 408.1 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/1.03, allocations: 52.66 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/1.03, allocations: 91.83 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/1.03, allocations: 30.64 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.548e-05/1.03, allocations: 81.02 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/1.03, allocations: 15.7 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/1.03, allocations: 21.81 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/1.03, allocations: 317.5 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/1.03, allocations: 37.53 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/1.03, allocations: 37.27 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/1.031, allocations: 76.97 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/1.031, allocations: 0 / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003598/1.031, allocations: 120 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.031, allocations: 5.219 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.031, allocations: 1.125 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.031, allocations: 4.609 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/1.031, allocations: 22.92 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.031, allocations: 0.6875 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/1.031, allocations: 12.3 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/1.031, allocations: 6.344 kB / 1.277 GB, free: 3.941 MB / 0.9981 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.845e-05/1.031, allocations: 116 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/1.031, allocations: 5.625 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/1.032, allocations: 133.2 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.032, allocations: 0.8125 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.032, allocations: 5.516 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.032, allocations: 5.156 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/1.032, allocations: 165.1 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.032, allocations: 7.688 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/1.032, allocations: 27.81 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/1.032, allocations: 0.5312 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.032, allocations: 6.094 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.032, allocations: 0.9062 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.032, allocations: 0.6094 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/1.033, allocations: 185.6 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/1.033, allocations: 93.16 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/1.033, allocations: 1.062 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.033, allocations: 12.03 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/1.033, allocations: 3.906 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/1.033, allocations: 7.5 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.925e-05/1.033, allocations: 77.61 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.033, allocations: 0.6562 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002494/1.033, allocations: 34.66 kB / 1.278 GB, free: 3.254 MB / 0.9981 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.0008052/1.034, allocations: 0.7501 MB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003903/1.034, allocations: 77.91 kB / 1.279 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.034, allocations: 4 kB / 1.279 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/1.034, allocations: 47.33 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/1.035, allocations: 5.844 kB / 1.279 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/1.037, allocations: 1.382 MB / 1.28 GB, free: 17.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/1.037, allocations: 0.682 MB / 1.281 GB, free: 16.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.976e-05/1.037, allocations: 19.94 kB / 1.281 GB, free: 16.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/1.037, allocations: 13.52 kB / 1.281 GB, free: 16.7 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.037, allocations: 4.906 kB / 1.281 GB, free: 16.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/1.066, allocations: 2.047 MB / 1.283 GB, free: 16.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/9.267, allocations: 11.06 kB / 1.283 GB, free: 16.28 MB / 1.014 GB " [Timeout remaining time 291] (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: 15.24658143799752] Failed to read output from testmodel.py, exit status != 0: 9.338562343007652 9.365020082 8.334867577 Calling exit ...