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.002187/0.002187, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.00289/0.00289, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.856/2.856, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 65.75 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4153, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001902/0.4172, allocations: 0.6046 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.4193, allocations: 1.431 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.4193, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.4193, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.872e-05/0.4193, allocations: 3.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.4199, allocations: 151.4 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.4199, allocations: 19.98 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.42, allocations: 7.984 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.42, allocations: 15.98 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.949e-05/0.4201, allocations: 27.89 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.4201, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.4205, allocations: 259.5 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.4206, allocations: 7.984 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.4206, allocations: 7.938 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.4209, allocations: 175.1 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.4209, allocations: 8 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4209, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.4209, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 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.0005509/0.4215, allocations: 286 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4215, allocations: 12.03 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.4215, allocations: 30.75 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004654/0.422, allocations: 68.8 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4221, allocations: 110.5 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.4221, allocations: 384 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4222, allocations: 12.36 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.4225, allocations: 99.47 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4225, allocations: 3.938 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4225, allocations: 0 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4225, allocations: 4 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.4228, allocations: 63.92 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.423, allocations: 124.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006076/0.4236, allocations: 130.6 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.4238, allocations: 44.91 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000426/0.4242, allocations: 71.91 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4242, allocations: 46.44 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4242, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00117/0.4254, allocations: 329 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.4255, allocations: 55.41 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.4255, allocations: 97.84 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4256, allocations: 25.7 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.4256, allocations: 80.14 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.4256, allocations: 19.86 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.4257, allocations: 21.7 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4258, allocations: 314.8 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.426, allocations: 36.09 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.4262, allocations: 35.91 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.4265, allocations: 76.98 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4265, allocations: 0 / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003865/0.4268, allocations: 125.5 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4269, allocations: 4 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4269, allocations: 4 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4269, allocations: 3.938 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.427, allocations: 27.97 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.427, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.973e-05/0.4271, allocations: 11.98 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.4272, allocations: 4 kB / 1.288 GB, free: 7.164 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.76e-05/0.4272, allocations: 109.8 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.4273, allocations: 3.938 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.4277, allocations: 137.6 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4277, allocations: 4 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4277, allocations: 0 / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4277, allocations: 3.984 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.4279, allocations: 136.7 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4279, allocations: 7.938 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.428, allocations: 27.97 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.428, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4281, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4281, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4281, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.4289, allocations: 188.9 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.429, allocations: 11.95 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.429, allocations: 64 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4292, allocations: 24.16 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.4292, allocations: 8 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.4292, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.4293, allocations: 83.27 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4293, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003191/0.4296, allocations: 27.88 kB / 1.288 GB, free: 6.332 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.001416/0.431, allocations: 0.7567 MB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006068/0.4316, allocations: 76 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4316, allocations: 4 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.4319, allocations: 47.89 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.4321, allocations: 4 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.4353, allocations: 1.362 MB / 1.29 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.4354, allocations: 71.22 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.4355, allocations: 16 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.4356, allocations: 15.44 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.4356, allocations: 4 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.4767, allocations: 2.588 MB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.75, allocations: 13.61 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB " [Timeout remaining time 287] (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: 18.72404252877459] Failed to read output from testmodel.py, exit status != 0: 12.534967699088156 11.87855478 11.454327412 Calling exit ...