Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001644/0.001644, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002206/0.002206, allocations: 218.8 kB / 23.01 MB, free: 4.566 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8 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.481/3.481, allocations: 0.49 GB / 0.7958 GB, free: 33.59 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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002113/0.002113, allocations: 69.56 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3794, allocations: 176.1 MB / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002229/0.3816, allocations: 0.7987 MB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.384, allocations: 1.552 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.384, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.384, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.3841, allocations: 7.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.3846, allocations: 139.5 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3848, allocations: 55.83 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.3848, allocations: 8 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.3849, allocations: 23.92 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.385, allocations: 35.89 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.385, allocations: 4 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.3855, allocations: 315.4 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.3855, allocations: 23.91 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.3856, allocations: 23.86 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.3859, allocations: 211.4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3859, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3859, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3859, allocations: 0 / 1.33 GB, free: 14.21 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007634/0.3867, allocations: 333.8 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3868, allocations: 12.03 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004633/0.3872, allocations: 72.75 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3873, allocations: 114.4 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.3874, allocations: 8.375 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.3874, allocations: 8.328 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.3878, allocations: 113.9 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3878, allocations: 4 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3878, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3878, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.3883, allocations: 107.8 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.389, allocations: 299.8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.3896, allocations: 162.4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.3898, allocations: 48.81 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3898, allocations: 8.156 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3899, allocations: 34.56 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3899, allocations: 0 / 1.332 GB, free: 12.79 MB / 1.029 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.01818/0.4081, allocations: 2.691 MB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.4081, allocations: 55.34 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4082, allocations: 105.8 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.4083, allocations: 29.7 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.4083, allocations: 88.09 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.4084, allocations: 39.64 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.4086, allocations: 69.58 kB / 1.335 GB, free: 9.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4087, allocations: 318.8 kB / 1.335 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.4094, allocations: 191.8 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.41, allocations: 196.9 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.4113, allocations: 389.9 kB / 1.336 GB, free: 8.539 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4113, allocations: 0 / 1.336 GB, free: 8.539 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001512/0.4128, allocations: 481.3 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4128, allocations: 11.94 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4128, allocations: 0 / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4129, allocations: 192 / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/0.4137, allocations: 111.7 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.4137, allocations: 7.938 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.4143, allocations: 47.94 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.4144, allocations: 27.92 kB / 1.336 GB, free: 7.859 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 (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.0001626/0.4146, allocations: 111 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.4146, allocations: 4 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.4147, allocations: 20.14 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4147, allocations: 3.938 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4147, allocations: 3.938 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4147, allocations: 0 / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.417, allocations: 1.023 MB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.417, allocations: 0 / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.4178, allocations: 103.8 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4178, allocations: 3.938 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.4179, allocations: 23.92 kB / 1.338 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4179, allocations: 4 kB / 1.338 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4179, allocations: 0 / 1.338 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.4202, allocations: 0.7854 MB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.4204, allocations: 47.81 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.4204, allocations: 0 / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/0.4211, allocations: 52 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.4212, allocations: 27.92 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.4213, allocations: 23.94 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.955e-05/0.4213, allocations: 91.2 kB / 1.339 GB, free: 5.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4213, allocations: 0 / 1.339 GB, free: 5.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000395/0.4217, allocations: 51.94 kB / 1.339 GB, free: 5.352 MB / 1.029 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.0002309/0.422, allocations: 111.2 kB / 1.339 GB, free: 5.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.4234, allocations: 423.5 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4234, allocations: 0 / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.4241, allocations: 223.7 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.4245, allocations: 8 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.4289, allocations: 0.7806 MB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.4292, allocations: 0.6885 MB / 1.341 GB, free: 3.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.4296, allocations: 83.23 kB / 1.341 GB, free: 2.984 MB / 1.029 GB Notification: Performance of SimCode: time 1.473e-06/0.4296, allocations: 4 kB / 1.341 GB, free: 2.98 MB / 1.029 GB Notification: Performance of Templates: time 0.006706/0.4363, allocations: 3.789 MB / 1.345 GB, free: 15.18 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.196387511008652] Failed to read output from testmodel.py, exit status != 0: 0.44489285501185805 0.45975436900000005 0.070706251 Calling exit ...