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.001844/0.001844, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.002091/0.002091, allocations: 212.9 kB / 23.02 MB, free: 2.957 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 1.779/1.779, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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 3.321/3.321, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003803/0.003803, allocations: 63.89 kB / 1.177 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8689/0.8727, allocations: 180 MB / 1.353 GB, free: 1.594 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002204/0.8749, allocations: 0.7847 MB / 1.354 GB, free: 0.8125 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.8772, allocations: 1.455 MB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.8772, allocations: 0 / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.8772, allocations: 3.938 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.8773, allocations: 3.938 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.8778, allocations: 146.2 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.8779, allocations: 63.58 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.878, allocations: 7.984 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.8781, allocations: 23.92 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.8781, allocations: 31.89 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.8782, allocations: 4 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.8787, allocations: 247.5 kB / 1.356 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.8787, allocations: 23.91 kB / 1.356 GB, free: 14.8 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.8787, allocations: 15.92 kB / 1.356 GB, free: 14.78 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.8791, allocations: 202.2 kB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8791, allocations: 0 / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8791, allocations: 0 / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.8791, allocations: 4 kB / 1.356 GB, free: 14.58 MB / 1.042 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.0006836/0.8798, allocations: 321.8 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.8798, allocations: 12.92 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.8803, allocations: 72.8 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.8804, allocations: 122.5 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.8804, allocations: 4.375 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.8805, allocations: 12.36 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.8809, allocations: 157.3 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.8809, allocations: 4 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.8809, allocations: 0 / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.8809, allocations: 4 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.8814, allocations: 103.8 kB / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.882, allocations: 284.1 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.8827, allocations: 146.5 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.8829, allocations: 60.8 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.8829, allocations: 3.938 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.883, allocations: 34.56 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.883, allocations: 0 / 1.357 GB, free: 13.14 MB / 1.042 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.01913/0.9021, allocations: 2.683 MB / 1.36 GB, free: 10.4 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.9021, allocations: 51.41 kB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.9023, allocations: 113.7 kB / 1.36 GB, free: 10.22 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.9023, allocations: 29.7 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.9024, allocations: 88.09 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.9025, allocations: 35.69 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.9026, allocations: 69.58 kB / 1.36 GB, free: 9.984 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.9028, allocations: 314.8 kB / 1.36 GB, free: 9.668 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.9035, allocations: 191.8 kB / 1.361 GB, free: 9.48 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.9041, allocations: 191.8 kB / 1.361 GB, free: 9.293 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.9055, allocations: 397 kB / 1.361 GB, free: 8.902 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9055, allocations: 0 / 1.361 GB, free: 8.902 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001581/0.9071, allocations: 483.3 kB / 1.362 GB, free: 8.426 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.9071, allocations: 4 kB / 1.362 GB, free: 8.422 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9071, allocations: 0 / 1.362 GB, free: 8.422 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.9071, allocations: 0 / 1.362 GB, free: 8.422 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008488/0.908, allocations: 115.8 kB / 1.362 GB, free: 8.309 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.908, allocations: 0 / 1.362 GB, free: 8.309 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.9086, allocations: 47.81 kB / 1.362 GB, free: 8.262 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.9087, allocations: 27.92 kB / 1.362 GB, free: 8.234 MB / 1.042 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.0001745/0.9089, allocations: 121.8 kB / 1.362 GB, free: 8.105 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.9089, allocations: 7.953 kB / 1.362 GB, free: 8.098 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.909, allocations: 8.062 kB / 1.362 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.909, allocations: 0 / 1.362 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.909, allocations: 0 / 1.362 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.909, allocations: 7.938 kB / 1.362 GB, free: 8.078 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.9115, allocations: 0.9644 MB / 1.363 GB, free: 7.027 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.9115, allocations: 0 / 1.363 GB, free: 7.027 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/0.9123, allocations: 107.8 kB / 1.363 GB, free: 6.922 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.9123, allocations: 0 / 1.363 GB, free: 6.922 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.9124, allocations: 20.03 kB / 1.363 GB, free: 6.902 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.9124, allocations: 11.88 kB / 1.363 GB, free: 6.891 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9124, allocations: 192 / 1.363 GB, free: 6.891 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.9148, allocations: 0.7956 MB / 1.364 GB, free: 6.078 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.915, allocations: 43.88 kB / 1.364 GB, free: 6.035 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.915, allocations: 8.062 kB / 1.364 GB, free: 6.027 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006709/0.9157, allocations: 47.88 kB / 1.364 GB, free: 5.98 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.9158, allocations: 27.92 kB / 1.364 GB, free: 5.953 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.9159, allocations: 23.92 kB / 1.364 GB, free: 5.93 MB / 1.042 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.916, allocations: 87.28 kB / 1.364 GB, free: 5.844 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.916, allocations: 0 / 1.364 GB, free: 5.844 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004209/0.9164, allocations: 55.94 kB / 1.364 GB, free: 5.789 MB / 1.042 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.0002342/0.9166, allocations: 111.2 kB / 1.364 GB, free: 5.672 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.9182, allocations: 419.5 kB / 1.365 GB, free: 5.262 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9182, allocations: 0 / 1.365 GB, free: 5.262 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007249/0.9189, allocations: 224 kB / 1.365 GB, free: 5.043 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.9192, allocations: 10.28 kB / 1.365 GB, free: 5.035 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.9235, allocations: 0.7632 MB / 1.366 GB, free: 4.242 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.113e-05/0.9236, allocations: 75.33 kB / 1.366 GB, free: 4.148 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0005373/0.9241, allocations: 92.66 kB / 1.366 GB, free: 4.059 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.9244, allocations: 51.31 kB / 1.366 GB, free: 4.008 MB / 1.042 GB Notification: Performance of SimCode: time 1.182e-06/0.9244, allocations: 0 / 1.366 GB, free: 4.008 MB / 1.042 GB Notification: Performance of Templates: time 0.009033/0.9334, allocations: 3.718 MB / 1.369 GB, free: 316 kB / 1.042 GB " [Timeout remaining time 299] 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: 10.161379900760949]