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.001684/0.001684, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002173/0.002173, allocations: 215.8 kB / 22.26 MB, free: 5.082 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 8.035 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.829/2.829, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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.002024/0.002024, allocations: 69.12 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002025/0.3294, allocations: 0.611 MB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3316, allocations: 1.515 MB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.3317, allocations: 0 / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.3317, allocations: 0 / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.3317, allocations: 0 / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.3322, allocations: 150.8 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.3323, allocations: 31.91 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.3324, allocations: 0 / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.3324, allocations: 27.91 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.3325, allocations: 23.91 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3325, allocations: 0 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.333, allocations: 323.4 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.333, allocations: 3.984 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.3331, allocations: 19.92 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.3334, allocations: 191.7 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3334, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3334, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.3334, allocations: 0 / 1.286 GB, free: 8.777 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.0005316/0.3339, allocations: 286 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.334, allocations: 12.03 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.334, allocations: 30.75 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004649/0.3345, allocations: 76.8 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3346, allocations: 102.5 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3346, allocations: 8.375 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3346, allocations: 384 / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.3349, allocations: 81.69 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3349, allocations: 0 / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3349, allocations: 0 / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3349, allocations: 0 / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.3352, allocations: 63.94 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.3355, allocations: 144.8 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.3361, allocations: 126.5 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.3363, allocations: 40.92 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004145/0.3367, allocations: 79.91 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.3367, allocations: 38.5 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3367, allocations: 0 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.001142/0.3379, allocations: 329 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3379, allocations: 55.39 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.338, allocations: 101.8 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.338, allocations: 29.7 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.338, allocations: 80.14 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3381, allocations: 11.86 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3381, allocations: 25.7 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3383, allocations: 314.8 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.3384, allocations: 40.09 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.3386, allocations: 31.95 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.3389, allocations: 84.73 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3389, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000359/0.3392, allocations: 113.6 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3392, allocations: 4 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3392, allocations: 3.938 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3393, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3394, allocations: 27.97 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3394, allocations: 0 / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.3395, allocations: 11.98 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3395, allocations: 4 kB / 1.288 GB, free: 6.246 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 9.999e-05/0.3396, allocations: 109.8 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.3397, allocations: 11.92 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.3401, allocations: 133.9 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3401, allocations: 0 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.3401, allocations: 4.062 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.3401, allocations: 7.969 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3403, allocations: 136.7 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3403, allocations: 3.938 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3405, allocations: 31.97 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3405, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3405, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3405, allocations: 4 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3405, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.3411, allocations: 184.9 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.3412, allocations: 20.02 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.3412, allocations: 0 / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3413, allocations: 15.92 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.3413, allocations: 7.984 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.3413, allocations: 4 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.3414, allocations: 75.28 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3414, allocations: 0 / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000242/0.3416, allocations: 35.97 kB / 1.289 GB, free: 5.402 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.001031/0.3427, allocations: 0.7488 MB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.343, allocations: 83.98 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.343, allocations: 0 / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.3432, allocations: 47.91 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.3434, allocations: 4 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.3458, allocations: 1.364 MB / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.3463, allocations: 0.6806 MB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.409e-05/0.3464, allocations: 16 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.248e-05/0.3465, allocations: 15.42 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3465, allocations: 0 / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.3801, allocations: 2.182 MB / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 9.062 kB / 1.294 GB, free: 252 kB / 0.9825 GB " [Timeout remaining time 288] (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.464769792044535] Failed to read output from testmodel.py, exit status != 0: 12.49762212112546 12.016979953 11.678963815 Calling exit ...