Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001015/0.001015, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009988/0.0009988, allocations: 177 kB / 23.36 MB, free: 1.129 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.046/1.046, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.005133/0.005133, allocations: 250.8 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7511/0.7511, allocations: 138.4 MB / 402.2 MB, free: 0.5117 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 462.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.059e-05, allocations: 7.156 kB / 462.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00131/0.001331, allocations: 0.6642 MB / 463.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.002914, allocations: 1.483 MB / 464.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.002938, allocations: 0 / 464.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.002951, allocations: 1.438 kB / 464.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.843e-05/0.00298, allocations: 1.156 kB / 464.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.003416, allocations: 146.1 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.841e-05/0.003485, allocations: 26.2 kB / 464.8 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.00352, allocations: 2.688 kB / 464.8 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.32e-05/0.003583, allocations: 24.22 kB / 464.8 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.003651, allocations: 24.34 kB / 464.8 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.003665, allocations: 1.312 kB / 464.8 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.004027, allocations: 258.1 kB / 465.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.004045, allocations: 12.73 kB / 465.1 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.004063, allocations: 5.953 kB / 465.1 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.004326, allocations: 211.3 kB / 465.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004328, allocations: 2.812 kB / 465.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.00433, allocations: 0.5156 kB / 465.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.004333, allocations: 0.5312 kB / 465.3 MB, free: 15.27 MB / 426.7 MB 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.0003698/0.004703, allocations: 260.9 kB / 465.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.004735, allocations: 9.375 kB / 465.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.004975, allocations: 58.39 kB / 465.6 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.005051, allocations: 104.7 kB / 465.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.005065, allocations: 1.844 kB / 465.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.005083, allocations: 3.812 kB / 465.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.005226, allocations: 101.1 kB / 465.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.005232, allocations: 192 / 465.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.005242, allocations: 3.922 kB / 465.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005248, allocations: 3.938 kB / 465.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.00555, allocations: 19.81 kB / 465.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.005652, allocations: 70.89 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.005809, allocations: 42.86 kB / 465.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.005834, allocations: 15.33 kB / 466 MB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.005985, allocations: 48.06 kB / 466 MB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.006007, allocations: 33.34 kB / 466 MB, free: 14.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.006008, allocations: 1.375 kB / 466 MB, free: 14.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004087/0.006417, allocations: 207.1 kB / 466.2 MB, free: 14.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.006442, allocations: 53.83 kB / 466.3 MB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.006525, allocations: 108.2 kB / 466.4 MB, free: 14.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.006538, allocations: 29.7 kB / 466.4 MB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.006558, allocations: 82.3 kB / 466.5 MB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.006585, allocations: 16.95 kB / 466.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.00662, allocations: 24.81 kB / 466.6 MB, free: 14.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.00669, allocations: 312.2 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.006709, allocations: 6.797 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.006728, allocations: 9.188 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.006775, allocations: 20.41 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006776, allocations: 1.062 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.844e-05/0.006855, allocations: 49.75 kB / 466.9 MB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.006868, allocations: 6.125 kB / 467 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006873, allocations: 5.5 kB / 467 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.006884, allocations: 1.562 kB / 467 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.00696, allocations: 24.44 kB / 467 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.006964, allocations: 1.25 kB / 467 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.006995, allocations: 10.28 kB / 467 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.007001, allocations: 0 / 467 MB, free: 13.78 MB / 426.7 MB 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 5.436e-05/0.007056, allocations: 117.1 kB / 467.1 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.007066, allocations: 2.406 kB / 467.1 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.007188, allocations: 73.5 kB / 467.2 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.00719, allocations: 0 / 467.2 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007192, allocations: 3.938 kB / 467.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.007196, allocations: 3.938 kB / 467.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.701e-05/0.007263, allocations: 74.44 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.007265, allocations: 3.656 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.007336, allocations: 19.97 kB / 467.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.007338, allocations: 0 / 467.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007345, allocations: 0 / 467.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007346, allocations: 0 / 467.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007346, allocations: 0 / 467.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.007537, allocations: 94.16 kB / 467.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.007565, allocations: 12.73 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.007576, allocations: 3.938 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.007614, allocations: 9.781 kB / 467.4 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.007632, allocations: 7.922 kB / 467.4 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.007638, allocations: 0.5312 kB / 467.4 MB, free: 13.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.498e-06/0.007647, allocations: 10.02 kB / 467.4 MB, free: 13.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007647, allocations: 0 / 467.4 MB, free: 13.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.007792, allocations: 35.86 kB / 467.5 MB, free: 13.29 MB / 426.7 MB 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.0001363/0.007928, allocations: 109.5 kB / 467.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.008009, allocations: 40.09 kB / 467.6 MB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.008011, allocations: 0 / 467.6 MB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.533e-05/0.008036, allocations: 24.78 kB / 467.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.075e-05/0.008107, allocations: 0 / 467.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.00839, allocations: 137.7 kB / 467.8 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.008417, allocations: 56.42 kB / 467.8 MB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.18e-05/0.008479, allocations: 21.92 kB / 467.8 MB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.008546, allocations: 62.34 kB / 467.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.008547, allocations: 0 / 467.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of Templates: time 0.002894/0.01144, allocations: 1.325 MB / 469.2 MB, free: 11.62 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6254156469367445]