Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001839/0.001839, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002484/0.002484, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.884/2.884, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",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.002157/0.002157, allocations: 59.91 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002175/1.041, allocations: 0.7823 MB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00246/1.043, allocations: 1.537 MB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/1.043, allocations: 5.062 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/1.043, allocations: 4.828 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/1.043, allocations: 3.938 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/1.044, allocations: 142.2 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/1.044, allocations: 61.81 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/1.044, allocations: 6.812 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/1.044, allocations: 24.62 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/1.044, allocations: 35.05 kB / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/1.044, allocations: 3.844 kB / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/1.045, allocations: 317.8 kB / 1.282 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/1.045, allocations: 18.48 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/1.045, allocations: 25.67 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004978/1.045, allocations: 210.2 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.045, allocations: 0.5 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/1.045, allocations: 4 kB / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.045, allocations: 0.5 kB / 1.282 GB, free: 9.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007779/1.046, allocations: 403.8 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.046, allocations: 9.5 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.422e-05/1.046, allocations: 1.656 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/1.046, allocations: 39.31 kB / 1.283 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/1.047, allocations: 76.19 kB / 1.283 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/1.047, allocations: 168.6 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/1.047, allocations: 11.41 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/1.047, allocations: 4.25 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/1.047, allocations: 114.6 kB / 1.283 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.047, allocations: 5.266 kB / 1.283 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/1.047, allocations: 2.047 kB / 1.283 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.047, allocations: 1.375 kB / 1.283 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/1.048, allocations: 105.9 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/1.048, allocations: 337.8 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/1.049, allocations: 150.8 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/1.049, allocations: 58.91 kB / 1.284 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/1.049, allocations: 0 / 1.284 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/1.05, allocations: 35.62 kB / 1.284 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/1.05, allocations: 0 / 1.284 GB, free: 8.676 MB / 0.9981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.02008/1.07, allocations: 2.849 MB / 1.286 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/1.07, allocations: 52.88 kB / 1.286 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/1.07, allocations: 100.9 kB / 1.286 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/1.07, allocations: 26.86 kB / 1.286 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/1.07, allocations: 92.45 kB / 1.287 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/1.07, allocations: 46.59 kB / 1.287 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/1.07, allocations: 69.36 kB / 1.287 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.07, allocations: 322.9 kB / 1.287 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007477/1.071, allocations: 189 kB / 1.287 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/1.072, allocations: 194.1 kB / 1.287 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/1.073, allocations: 398.4 kB / 1.288 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.073, allocations: 0 / 1.288 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001749/1.075, allocations: 473.3 kB / 1.288 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.075, allocations: 9.688 kB / 1.288 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.075, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/1.075, allocations: 9.438 kB / 1.288 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000888/1.076, allocations: 105.6 kB / 1.288 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.076, allocations: 1.344 kB / 1.288 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/1.077, allocations: 47 kB / 1.288 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/1.077, allocations: 26.97 kB / 1.288 GB, free: 6.809 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 (13): * Single equations (assignments): 13 * 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 0.0001798/1.077, allocations: 114.3 kB / 1.288 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/1.077, allocations: 10.91 kB / 1.289 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/1.077, allocations: 9.859 kB / 1.289 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.077, allocations: 6.266 kB / 1.289 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.077, allocations: 1.188 kB / 1.289 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.077, allocations: 0.6094 kB / 1.289 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/1.08, allocations: 1.046 MB / 1.29 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.08, allocations: 7.938 kB / 1.29 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/1.081, allocations: 106.4 kB / 1.29 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/1.081, allocations: 2.219 kB / 1.29 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.402e-05/1.081, allocations: 20.88 kB / 1.29 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.081, allocations: 5.375 kB / 1.29 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.081, allocations: 0 / 1.29 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/1.083, allocations: 0.7919 MB / 1.29 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/1.084, allocations: 122.1 kB / 1.291 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/1.084, allocations: 1.344 kB / 1.291 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007468/1.084, allocations: 51.84 kB / 1.291 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.084, allocations: 34.08 kB / 1.291 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/1.085, allocations: 23.03 kB / 1.291 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.136e-05/1.085, allocations: 84.03 kB / 1.291 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.085, allocations: 0 / 1.291 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004225/1.085, allocations: 51.62 kB / 1.291 GB, free: 5.457 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.00308/1.088, allocations: 1.35 MB / 1.292 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0017/1.09, allocations: 417.2 kB / 1.293 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.09, allocations: 0 / 1.293 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008402/1.091, allocations: 225.2 kB / 1.293 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/1.091, allocations: 9.75 kB / 1.293 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00985/1.101, allocations: 2.953 MB / 1.296 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/1.101, allocations: 0.6956 MB / 1.296 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005221/1.102, allocations: 88.17 kB / 1.296 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/1.102, allocations: 63.62 kB / 1.296 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.102, allocations: 0 / 1.296 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/1.132, allocations: 4.644 MB / 1.301 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.875/10.01, allocations: 11.75 kB / 1.301 GB, free: 1.594 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.451225675002206] Failed to read output from testmodel.py, exit status != 0: 10.140054860967211 10.161974671 9.113557339 Calling exit ...