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.0007063/0.0007063, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009287/0.001635, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006941/0.0006941, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008773/0.001571, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9306/0.9306, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08714/1.018, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.879/1.879, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5133/2.392, allocations: 127.1 MB / 0.7432 GB, free: 4.633 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.723e-06/1.723e-06, allocations: 0 / 0.7445 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.46e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001449/0.001473, allocations: 0.8472 MB / 0.7454 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.002913, allocations: 1.504 MB / 0.7468 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.002944, allocations: 2.469 kB / 0.7468 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.002967, allocations: 3.938 kB / 0.7468 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.207e-05/0.002989, allocations: 5.469 kB / 0.7468 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.003293, allocations: 148.8 kB / 0.747 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.003367, allocations: 43.92 kB / 0.747 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.003404, allocations: 9.172 kB / 0.747 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.003498, allocations: 40.7 kB / 0.7471 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.003547, allocations: 25.94 kB / 0.7471 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.003563, allocations: 4 kB / 0.7471 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.003834, allocations: 267.4 kB / 0.7474 GB, free: 428 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.00385, allocations: 7.938 kB / 0.7474 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.00387, allocations: 12 kB / 0.7474 GB, free: 408 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.004096, allocations: 187.5 kB / 0.7476 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.00411, allocations: 0.7188 kB / 0.7476 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00411, allocations: 0 / 0.7476 GB, free: 220 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.004122, allocations: 0.5938 kB / 0.7476 GB, free: 220 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.0004371/0.004559, allocations: 316.9 kB / 0.7479 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.004587, allocations: 8.031 kB / 0.7479 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.00481, allocations: 132.8 kB / 0.748 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.255e-05/0.004883, allocations: 118.8 kB / 0.7481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.004899, allocations: 8.375 kB / 0.7481 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.004918, allocations: 12.27 kB / 0.7481 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.005089, allocations: 147.9 kB / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.005096, allocations: 192 / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.005107, allocations: 9.109 kB / 0.7483 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.005111, allocations: 3.938 kB / 0.7483 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.005154, allocations: 16.5 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.005433, allocations: 213.5 kB / 0.7485 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.005539, allocations: 61.41 kB / 0.7486 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.005559, allocations: 16.86 kB / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.005572, allocations: 3.938 kB / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.005594, allocations: 34.56 kB / 0.7486 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.005595, allocations: 0 / 0.7486 GB, free: 15.02 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.007144/0.01274, allocations: 2.156 MB / 0.7507 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.01276, allocations: 55.41 kB / 0.7508 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.798e-05/0.01281, allocations: 106.7 kB / 0.7509 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.01284, allocations: 26.73 kB / 0.7509 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.01287, allocations: 88.08 kB / 0.751 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.01292, allocations: 43.62 kB / 0.751 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.01301, allocations: 66.5 kB / 0.7511 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.01308, allocations: 310.8 kB / 0.7514 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01319, allocations: 101.3 kB / 0.7515 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.0133, allocations: 94.19 kB / 0.7516 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.01353, allocations: 227.4 kB / 0.7518 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.01353, allocations: 0 / 0.7518 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000294/0.01383, allocations: 248 kB / 0.752 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.01384, allocations: 4 kB / 0.752 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01384, allocations: 0 / 0.752 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.01385, allocations: 10.3 kB / 0.752 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.01421, allocations: 127.8 kB / 0.7522 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01421, allocations: 0 / 0.7522 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.0144, allocations: 26.38 kB / 0.7522 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.01443, allocations: 23.92 kB / 0.7522 GB, free: 11.29 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 8.685e-05/0.01452, allocations: 118.6 kB / 0.7523 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.01457, allocations: 15.98 kB / 0.7523 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.0146, allocations: 12.11 kB / 0.7523 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.0146, allocations: 0.5 kB / 0.7524 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01461, allocations: 5.031 kB / 0.7524 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01461, allocations: 0 / 0.7524 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.01515, allocations: 471.3 kB / 0.7528 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01515, allocations: 0 / 0.7528 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.0155, allocations: 121.8 kB / 0.7529 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.01556, allocations: 27.91 kB / 0.7529 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01557, allocations: 4.5 kB / 0.753 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.01559, allocations: 15.94 kB / 0.753 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.0156, allocations: 4.953 kB / 0.753 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.0156, allocations: 3.938 kB / 0.753 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.01608, allocations: 452.5 kB / 0.7534 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.01611, allocations: 5.062 kB / 0.7534 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.01633, allocations: 33.11 kB / 0.7534 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.01638, allocations: 23.92 kB / 0.7535 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.01641, allocations: 16.88 kB / 0.7535 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.303e-05/0.01642, allocations: 16.83 kB / 0.7535 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01642, allocations: 1.156 kB / 0.7535 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002076/0.01663, allocations: 55.94 kB / 0.7536 GB, free: 9.879 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.0001176/0.01675, allocations: 96.92 kB / 0.7536 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.01704, allocations: 230.6 kB / 0.7539 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.01704, allocations: 0 / 0.7539 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.01726, allocations: 132.7 kB / 0.754 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01745, allocations: 60.8 kB / 0.754 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.01892, allocations: 0.5716 MB / 0.7546 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.01896, allocations: 59.36 kB / 0.7547 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.01927, allocations: 101.8 kB / 0.7548 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.01952, allocations: 103.2 kB / 0.7549 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of SimCode: time 1.172e-06/0.01952, allocations: 0 / 0.7549 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.005257/0.02478, allocations: 3.882 MB / 0.7587 GB, free: 4.699 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: 5.10112847853452]