Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001833/0.001833, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002533/0.002533, allocations: 213.8 kB / 22.25 MB, free: 5.105 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.326/3.326, allocations: 0.49 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_12_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.002927/0.002927, allocations: 67.36 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3877, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001839/0.3895, allocations: 0.6014 MB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.3916, allocations: 1.443 MB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.3917, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.3917, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.257e-05/0.3917, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.3922, allocations: 147.5 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.3923, allocations: 31.91 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3923, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.3924, allocations: 19.97 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.3925, allocations: 23.91 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3925, allocations: 4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.3929, allocations: 255.5 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.3929, allocations: 11.97 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.393, allocations: 19.92 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3933, allocations: 175.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3933, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3933, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3933, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 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.0005414/0.3938, allocations: 297.9 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3938, allocations: 8.031 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.3939, allocations: 30.75 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.3944, allocations: 72.84 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3945, allocations: 106.5 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3945, allocations: 4.375 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3945, allocations: 4.312 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.3948, allocations: 103.5 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3948, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3948, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3948, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.3951, allocations: 63.94 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.3953, allocations: 136.7 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.396, allocations: 126.5 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.3961, allocations: 40.92 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004545/0.3966, allocations: 79.91 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3966, allocations: 38.48 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3966, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.001217/0.3979, allocations: 329 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3979, allocations: 55.41 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.398, allocations: 93.86 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.398, allocations: 25.7 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.398, allocations: 88.08 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3981, allocations: 15.84 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.3981, allocations: 21.72 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3982, allocations: 314.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.3984, allocations: 40.08 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3986, allocations: 35.97 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3989, allocations: 80.73 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3989, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003831/0.3993, allocations: 109.8 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3993, allocations: 15.92 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3993, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3993, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.3995, allocations: 27.98 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3995, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3996, allocations: 11.98 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3996, allocations: 4 kB / 1.331 GB, free: 12.22 MB / 1.029 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 9.64e-05/0.3997, allocations: 118.3 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.3997, allocations: 7.938 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.4002, allocations: 137.3 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4002, allocations: 336 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4002, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4002, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.4003, allocations: 140.7 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4004, allocations: 11.91 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.4005, allocations: 23.98 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4005, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4005, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4005, allocations: 4 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4005, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.4011, allocations: 185 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.4012, allocations: 11.92 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4012, allocations: 4.031 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.4013, allocations: 16.05 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.4014, allocations: 3.984 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.4014, allocations: 4 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.4014, allocations: 79.28 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4014, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002384/0.4017, allocations: 31.88 kB / 1.332 GB, free: 11.38 MB / 1.029 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.001018/0.4027, allocations: 0.7608 MB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.4031, allocations: 79.92 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4031, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.4032, allocations: 51.84 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.4034, allocations: 6.484 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.4056, allocations: 1.348 MB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.957e-05/0.4057, allocations: 71.28 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.273e-05/0.4057, allocations: 16 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.4058, allocations: 15.42 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4058, allocations: 0 / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.4378, allocations: 2.638 MB / 1.336 GB, free: 6.395 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.6, allocations: 6.391 kB / 1.336 GB, free: 6.391 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.440866894001374] Failed to read output from testmodel.py, exit status != 0: 11.707883919996675 11.729654878 11.332195045 Calling exit ...