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.002447/0.002447, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.002845/0.002845, allocations: 177.2 kB / 23.24 MB, free: 1.32 MB / 18.57 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.553/1.553, allocations: 177.1 MB / 203.5 MB, free: 5.629 MB / 186.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.197/3.197, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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 1.292e-06/1.292e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.322e-05, allocations: 2.281 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001601/0.001625, allocations: 0.5994 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.00381, allocations: 1.428 MB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.00384, allocations: 3.938 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.003855, allocations: 0 / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.986e-05/0.003875, allocations: 0 / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.004403, allocations: 158.3 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.004478, allocations: 27.97 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.004515, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.004573, allocations: 19.98 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.004653, allocations: 23.91 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.004671, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.005113, allocations: 255.4 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.005145, allocations: 7.984 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.005175, allocations: 15.98 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.005543, allocations: 203.4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005545, allocations: 4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005546, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.00555, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 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.0005739/0.006124, allocations: 286 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.006161, allocations: 13.34 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/0.006639, allocations: 64.81 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.006754, allocations: 113.8 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.006776, allocations: 384 / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.006795, allocations: 384 / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.007093, allocations: 99.91 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.007104, allocations: 4.188 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.007116, allocations: 384 / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.007122, allocations: 3.938 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.007447, allocations: 67.86 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.007647, allocations: 121.2 kB / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.008323, allocations: 126.6 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.008509, allocations: 44.91 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/0.00897, allocations: 75.91 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.00901, allocations: 30.56 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.009011, allocations: 0 / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.001432/0.01044, allocations: 329.1 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.0105, allocations: 59.34 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.01058, allocations: 101.8 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.0106, allocations: 29.7 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.01065, allocations: 80.14 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.01068, allocations: 15.86 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.01073, allocations: 21.72 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.0109, allocations: 314.8 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.01108, allocations: 44.03 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.01124, allocations: 31.97 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.01155, allocations: 76.8 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.01155, allocations: 0 / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003895/0.01194, allocations: 113.6 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01196, allocations: 4 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01196, allocations: 0 / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01198, allocations: 3.938 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.01213, allocations: 27.91 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01214, allocations: 0 / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.01223, allocations: 15.98 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.01225, allocations: 8 kB / 1.006 GB, free: 7.711 MB / 0.9636 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.0001006/0.01235, allocations: 109.8 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.01236, allocations: 4 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.01284, allocations: 133.4 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01285, allocations: 0.6406 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01285, allocations: 3.938 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01285, allocations: 0 / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.01299, allocations: 125.2 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.013, allocations: 7.922 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.01315, allocations: 19.98 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01316, allocations: 0 / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01317, allocations: 4 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.01317, allocations: 7.984 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01317, allocations: 0 / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.01379, allocations: 184.9 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.01384, allocations: 11.92 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01385, allocations: 4.031 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.01397, allocations: 11.98 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.014, allocations: 11.98 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01401, allocations: 4 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.01407, allocations: 83.22 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01407, allocations: 0 / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002297/0.0143, allocations: 31.92 kB / 1.007 GB, free: 6.898 MB / 0.9636 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.0002226/0.01452, allocations: 127.1 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.01491, allocations: 80.02 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01491, allocations: 0 / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.01509, allocations: 51.91 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.01524, allocations: 7.938 kB / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.01591, allocations: 172.8 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.734e-05/0.01598, allocations: 63.34 kB / 1.007 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.01607, allocations: 16 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.01612, allocations: 12.5 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.01612, allocations: 0 / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of Templates: time 0.00437/0.02049, allocations: 1.196 MB / 1.008 GB, free: 5.141 MB / 0.9636 GB " [Timeout remaining time 300] 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: 8.914845883846283]