Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009799/0.0009799, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.002094, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007226/0.0007226, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008831/0.001606, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9343/0.9343, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09012/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.837/1.837, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5029/2.34, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7449 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.485e-05, allocations: 6.25 kB / 0.7449 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001492/0.001507, allocations: 0.8518 MB / 0.7457 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.002835, allocations: 1.507 MB / 0.7472 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.002866, allocations: 1.469 kB / 0.7472 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.002887, allocations: 0 / 0.7472 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.227e-05/0.002909, allocations: 5.25 kB / 0.7472 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.003209, allocations: 145.2 kB / 0.7473 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.975e-05/0.003288, allocations: 50.08 kB / 0.7474 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.003321, allocations: 7.984 kB / 0.7474 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003426, allocations: 38.25 kB / 0.7474 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.003477, allocations: 30.58 kB / 0.7474 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.003491, allocations: 4 kB / 0.7474 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.003771, allocations: 266 kB / 0.7477 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.00379, allocations: 7.938 kB / 0.7477 GB, free: 304 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.003809, allocations: 15.94 kB / 0.7477 GB, free: 288 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.004031, allocations: 187.5 kB / 0.7479 GB, free: 100 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.004042, allocations: 0 / 0.7479 GB, free: 100 kB / 0.7136 GB Notification: Performance of FrontEnd: time 4.4e-07/0.004043, allocations: 0 / 0.7479 GB, free: 100 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.004055, allocations: 0 / 0.7479 GB, free: 100 kB / 0.7136 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.0004386/0.004494, allocations: 312.1 kB / 0.7482 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.004521, allocations: 8.719 kB / 0.7482 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.004757, allocations: 133.4 kB / 0.7483 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.184e-05/0.004839, allocations: 117.7 kB / 0.7484 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.004856, allocations: 8.375 kB / 0.7485 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.004879, allocations: 8.328 kB / 0.7485 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.005047, allocations: 147.9 kB / 0.7486 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005056, allocations: 0.7812 kB / 0.7486 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.005065, allocations: 4.375 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005071, allocations: 4.594 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.005114, allocations: 20.55 kB / 0.7486 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.005395, allocations: 217.4 kB / 0.7488 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.005503, allocations: 55.23 kB / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.005525, allocations: 17.02 kB / 0.7489 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.005536, allocations: 9.328 kB / 0.7489 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.005556, allocations: 38.5 kB / 0.749 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.005557, allocations: 0 / 0.749 GB, free: 14.91 MB / 0.7292 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.007263/0.01282, allocations: 2.174 MB / 0.7511 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.01285, allocations: 51.91 kB / 0.7511 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.138e-05/0.0129, allocations: 102.7 kB / 0.7512 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.01293, allocations: 35.17 kB / 0.7513 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.01296, allocations: 84.12 kB / 0.7513 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.01301, allocations: 39.64 kB / 0.7514 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.0131, allocations: 66.97 kB / 0.7514 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.01317, allocations: 314.8 kB / 0.7517 GB, free: 12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.01327, allocations: 95.92 kB / 0.7518 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.01338, allocations: 101.2 kB / 0.7519 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.01362, allocations: 223.1 kB / 0.7521 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01362, allocations: 0.6562 kB / 0.7521 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002947/0.01392, allocations: 250.1 kB / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01393, allocations: 4.625 kB / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.01393, allocations: 0 / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01394, allocations: 5.859 kB / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.01431, allocations: 124.8 kB / 0.7525 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.01431, allocations: 3.938 kB / 0.7525 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.01449, allocations: 29.75 kB / 0.7525 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.01453, allocations: 23.92 kB / 0.7526 GB, free: 11.16 MB / 0.7292 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.0003756/0.0149, allocations: 118.3 kB / 0.7527 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.01496, allocations: 9.953 kB / 0.7527 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.01499, allocations: 20.11 kB / 0.7527 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01499, allocations: 0 / 0.7527 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.015, allocations: 0 / 0.7527 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.015, allocations: 0 / 0.7527 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.01552, allocations: 467.7 kB / 0.7531 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01552, allocations: 4 kB / 0.7532 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.01586, allocations: 125.5 kB / 0.7533 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.01593, allocations: 23.91 kB / 0.7533 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01593, allocations: 0.9375 kB / 0.7533 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.01596, allocations: 19.94 kB / 0.7533 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.01596, allocations: 7.984 kB / 0.7533 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01596, allocations: 0.5938 kB / 0.7533 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.01644, allocations: 452.2 kB / 0.7538 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.01647, allocations: 0.9062 kB / 0.7538 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.01669, allocations: 37.55 kB / 0.7538 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.01674, allocations: 19.92 kB / 0.7538 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.01677, allocations: 20.84 kB / 0.7538 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.199e-05/0.01678, allocations: 12.84 kB / 0.7538 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01678, allocations: 1 kB / 0.7538 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002115/0.01699, allocations: 55.94 kB / 0.7539 GB, free: 9.754 MB / 0.7292 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.0001361/0.01713, allocations: 90.02 kB / 0.754 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.01743, allocations: 247.1 kB / 0.7542 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.01743, allocations: 0 / 0.7542 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.01758, allocations: 141.3 kB / 0.7544 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01778, allocations: 113.5 kB / 0.7545 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.0192, allocations: 0.5749 MB / 0.755 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.01923, allocations: 59.34 kB / 0.7551 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002831/0.01951, allocations: 94.69 kB / 0.7552 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.01976, allocations: 107.2 kB / 0.7553 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of SimCode: time 9.22e-07/0.01976, allocations: 0 / 0.7553 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of Templates: time 0.004616/0.02438, allocations: 3.879 MB / 0.7591 GB, free: 4.484 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.825137072242796]