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.001303/0.001303, allocations: 110.6 kB / 19.19 MB, free: 2.484 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.001413/0.001413, allocations: 193.5 kB / 22.52 MB, free: 5.418 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.464/1.464, allocations: 225.6 MB / 251.3 MB, free: 12.85 MB / 206.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.812/2.812, allocations: 476.7 MB / 0.765 GB, free: 9.727 MB / 0.6231 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.002023/0.002023, allocations: 71.88 kB / 1.11 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7711, allocations: 168.8 MB / 1.274 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002347/0.7735, allocations: 0.6015 MB / 1.275 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.7764, allocations: 1.47 MB / 1.276 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.7764, allocations: 0 / 1.276 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.7765, allocations: 0 / 1.276 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.7765, allocations: 7.938 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.7772, allocations: 139.4 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.796e-05/0.7773, allocations: 27.97 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.7773, allocations: 4 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.7774, allocations: 19.98 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.7775, allocations: 27.91 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.7775, allocations: 0 / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008003/0.7783, allocations: 315.4 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.7783, allocations: 11.98 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.7784, allocations: 15.86 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.7788, allocations: 189.4 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7788, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7788, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.7788, allocations: 3.938 kB / 1.277 GB, free: 1.164 MB / 0.9669 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.0007441/0.7796, allocations: 371 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7796, allocations: 8.031 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.7797, allocations: 38.73 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.7804, allocations: 60.86 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.7806, allocations: 172.3 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.7806, allocations: 384 / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.7806, allocations: 8.328 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.7809, allocations: 77.77 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.7809, allocations: 7.984 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.7809, allocations: 4 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.7809, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.7812, allocations: 63.92 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.7815, allocations: 165.7 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.7821, allocations: 122.5 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.7823, allocations: 48.88 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004649/0.7827, allocations: 149 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.7827, allocations: 38.5 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.7828, allocations: 4 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00132/0.7841, allocations: 402.2 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.7841, allocations: 55.39 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.7842, allocations: 97.86 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.7842, allocations: 25.7 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.7843, allocations: 80.14 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.7843, allocations: 19.84 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.7843, allocations: 25.83 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7845, allocations: 310.8 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.7846, allocations: 35.97 kB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.7848, allocations: 43.89 kB / 1.279 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.7851, allocations: 80.73 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.7851, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003797/0.7855, allocations: 113.5 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7855, allocations: 10.03 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7855, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7855, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.7857, allocations: 23.97 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.7857, allocations: 3.938 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.7858, allocations: 15.92 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.7858, allocations: 8 kB / 1.28 GB, free: 14.23 MB / 0.9825 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 8.9e-05/0.7859, allocations: 110.5 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.7859, allocations: 11.92 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.7864, allocations: 129.4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7864, allocations: 4 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7864, allocations: 0 / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.7864, allocations: 3.984 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.7866, allocations: 165.7 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.7866, allocations: 3.938 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.7868, allocations: 27.91 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7868, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.7868, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.7868, allocations: 4 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7868, allocations: 7.984 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.7874, allocations: 181 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.7875, allocations: 93.02 kB / 1.28 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.7875, allocations: 0 / 1.28 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.7876, allocations: 12.05 kB / 1.28 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.7877, allocations: 12.31 kB / 1.28 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.7877, allocations: 4 kB / 1.28 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.011e-05/0.7877, allocations: 79.28 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7877, allocations: 0 / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002413/0.788, allocations: 27.88 kB / 1.281 GB, free: 13.28 MB / 0.9825 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.001023/0.789, allocations: 0.7597 MB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.7894, allocations: 83.98 kB / 1.281 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7894, allocations: 3.938 kB / 1.281 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.7896, allocations: 39.97 kB / 1.281 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.7897, allocations: 4 kB / 1.281 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.792, allocations: 1.385 MB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.7923, allocations: 0.6845 MB / 1.283 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.726e-05/0.7924, allocations: 23.94 kB / 1.283 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.7925, allocations: 19.42 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.7925, allocations: 0 / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.8176, allocations: 2.074 MB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.174, allocations: 22.5 kB / 1.286 GB, free: 8.137 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 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.094595048984047] Failed to read output from testmodel.py, exit status != 0: 9.24613009399036 9.26381047 8.48152632 Calling exit ...