Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.00182/0.00182, 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.001938/0.001938, 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.698/1.698, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.39/3.39, allocations: 0.5045 GB / 0.8104 GB, free: 2.828 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003696/0.003696, allocations: 71.89 kB / 1.177 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.853, allocations: 180 MB / 1.353 GB, free: 1.586 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002104/0.8551, allocations: 0.6264 MB / 1.354 GB, free: 0.9648 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002932/0.858, allocations: 1.423 MB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.8581, allocations: 0 / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.8581, allocations: 3.938 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.8581, allocations: 0 / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.8587, allocations: 147.4 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.823e-05/0.8588, allocations: 31.91 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.8589, allocations: 4 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.8589, allocations: 15.98 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.859, allocations: 27.89 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.859, allocations: 4 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004794/0.8595, allocations: 239.5 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.8595, allocations: 11.97 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.8596, allocations: 7.984 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.8599, allocations: 182.4 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8599, allocations: 4 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8599, allocations: 0 / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.8599, allocations: 3.938 kB / 1.356 GB, free: 14.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006291/0.8606, allocations: 291.5 kB / 1.356 GB, free: 14.54 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.8606, allocations: 8.922 kB / 1.356 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.8611, allocations: 68.84 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.8613, allocations: 110.4 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.8613, allocations: 4.375 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.8613, allocations: 4.375 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.8616, allocations: 107.6 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.8616, allocations: 3.938 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.8617, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8617, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.862, allocations: 63.94 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.8622, allocations: 113.3 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.8628, allocations: 118.5 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.863, allocations: 48.91 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.8634, allocations: 71.91 kB / 1.357 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.8635, allocations: 34.56 kB / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8635, allocations: 0 / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of matching and sorting (n=5): time 0.001219/0.8647, allocations: 333.2 kB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.8647, allocations: 51.41 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.8648, allocations: 105.8 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.8649, allocations: 25.7 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.8649, allocations: 84.08 kB / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.8649, allocations: 19.84 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.865, allocations: 25.7 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.8652, allocations: 310.8 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.8653, allocations: 31.97 kB / 1.358 GB, free: 12.67 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.8655, allocations: 44.08 kB / 1.358 GB, free: 12.62 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.8658, allocations: 68.81 kB / 1.358 GB, free: 12.55 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.8658, allocations: 0 / 1.358 GB, free: 12.55 MB / 1.042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004232/0.8662, allocations: 117.6 kB / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8662, allocations: 11.94 kB / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8663, allocations: 256 / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.8663, allocations: 0 / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.8664, allocations: 31.91 kB / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.8664, allocations: 0 / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.8665, allocations: 15.98 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.8666, allocations: 4 kB / 1.358 GB, free: 12.37 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 (6): * Single equations (assignments): 6 * 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.0001111/0.8667, allocations: 113.8 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.8667, allocations: 7.938 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.8672, allocations: 129.3 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8672, allocations: 4 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8672, allocations: 3.938 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8672, allocations: 0 / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.8673, allocations: 117.3 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8673, allocations: 3.938 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.8675, allocations: 27.97 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8675, allocations: 0 / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.8675, allocations: 3.938 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.8675, allocations: 4 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8675, allocations: 0 / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.8681, allocations: 181 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.8682, allocations: 12.02 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.8682, allocations: 3.938 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.8683, allocations: 15.97 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.8683, allocations: 4 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.8684, allocations: 64 / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.8684, allocations: 95.2 kB / 1.359 GB, free: 11.6 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.8684, allocations: 0 / 1.359 GB, free: 11.6 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002376/0.8686, allocations: 27.88 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002483/0.8689, allocations: 131 kB / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.8693, allocations: 84.02 kB / 1.359 GB, free: 11.35 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8693, allocations: 0 / 1.359 GB, free: 11.35 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.8695, allocations: 44.16 kB / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.8696, allocations: 8 kB / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.8703, allocations: 169.6 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.8704, allocations: 71.2 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 9.275e-05/0.8705, allocations: 19.91 kB / 1.359 GB, free: 11 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.8705, allocations: 15.42 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of SimCode: time 6.41e-07/0.8705, allocations: 0 / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of Templates: time 0.004562/0.8751, allocations: 1.189 MB / 1.36 GB, free: 9.805 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.93434980046004]