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.0009671/0.0009671, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001165/0.001165, allocations: 170.5 kB / 25.18 MB, free: 8.328 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 0.9479/0.9479, allocations: 177.2 MB / 205.6 MB, free: 4.367 MB / 186.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.933/1.933, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 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.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.934e-06/1.934e-06, allocations: 0 / 0.7756 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.22e-05, allocations: 5.688 kB / 0.7756 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001946/0.001978, allocations: 0.6581 MB / 0.7763 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.003892, allocations: 1.47 MB / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.003926, allocations: 0 / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.003943, allocations: 0 / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.003987, allocations: 7.938 kB / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.004585, allocations: 143.3 kB / 0.7779 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.004673, allocations: 31.95 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.004724, allocations: 4 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.91e-05/0.004803, allocations: 15.98 kB / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.816e-05/0.004891, allocations: 19.97 kB / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004909, allocations: 0 / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.005294, allocations: 267.4 kB / 0.7782 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.005319, allocations: 11.92 kB / 0.7782 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.005345, allocations: 7.984 kB / 0.7782 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.005634, allocations: 207.4 kB / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.005639, allocations: 0 / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.00564, allocations: 0 / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.005646, allocations: 0 / 0.7784 GB, free: 11.64 MB / 0.7448 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.0004721/0.006119, allocations: 268.6 kB / 0.7786 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.006158, allocations: 12.03 kB / 0.7787 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.006418, allocations: 60.81 kB / 0.7787 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.006524, allocations: 105.8 kB / 0.7788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.006542, allocations: 384 / 0.7788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.006565, allocations: 4.375 kB / 0.7788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.006729, allocations: 96.61 kB / 0.7789 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.006737, allocations: 4.125 kB / 0.7789 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.006747, allocations: 4.375 kB / 0.7789 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.006757, allocations: 11.94 kB / 0.7789 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.054e-05/0.006797, allocations: 15.98 kB / 0.7789 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.006944, allocations: 64.98 kB / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.007139, allocations: 38.59 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.007167, allocations: 20.94 kB / 0.7791 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.00735, allocations: 47.95 kB / 0.7791 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.00738, allocations: 34.56 kB / 0.7791 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.007382, allocations: 0 / 0.7791 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0005052/0.007887, allocations: 197.2 kB / 0.7793 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.007921, allocations: 55.41 kB / 0.7794 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.007978, allocations: 110.6 kB / 0.7795 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.007993, allocations: 29.7 kB / 0.7795 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.00802, allocations: 80.14 kB / 0.7796 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.008053, allocations: 15.86 kB / 0.7796 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.008095, allocations: 21.7 kB / 0.7796 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.008184, allocations: 314.8 kB / 0.7799 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.008205, allocations: 4 kB / 0.7799 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.008224, allocations: 12.12 kB / 0.7799 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.922e-05/0.008283, allocations: 24.84 kB / 0.78 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008285, allocations: 0 / 0.78 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.572e-05/0.008371, allocations: 49.62 kB / 0.78 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.008384, allocations: 4 kB / 0.78 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.008393, allocations: 3.984 kB / 0.78 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.008405, allocations: 4 kB / 0.78 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.008497, allocations: 15.98 kB / 0.78 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.008501, allocations: 0 / 0.78 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.008536, allocations: 15.94 kB / 0.7801 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.008543, allocations: 3.984 kB / 0.7801 GB, free: 9.734 MB / 0.7448 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 6.576e-05/0.008609, allocations: 109.8 kB / 0.7802 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.008619, allocations: 4 kB / 0.7802 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.008845, allocations: 73.66 kB / 0.7802 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.008849, allocations: 400 / 0.7802 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.008852, allocations: 4 kB / 0.7802 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.008858, allocations: 3.938 kB / 0.7803 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.244e-05/0.008951, allocations: 81.88 kB / 0.7803 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.008954, allocations: 3.984 kB / 0.7803 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.009044, allocations: 15.98 kB / 0.7803 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.009047, allocations: 0 / 0.7803 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.009055, allocations: 4 kB / 0.7804 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.009058, allocations: 0 / 0.7804 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.00906, allocations: 0 / 0.7804 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.009221, allocations: 92.98 kB / 0.7804 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.009259, allocations: 15.88 kB / 0.7805 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.009274, allocations: 4 kB / 0.7805 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.009314, allocations: 11.98 kB / 0.7805 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.009335, allocations: 3.938 kB / 0.7805 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.009342, allocations: 3.984 kB / 0.7805 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.653e-05/0.009359, allocations: 12.89 kB / 0.7805 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009359, allocations: 0 / 0.7805 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001529/0.009512, allocations: 27.94 kB / 0.7805 GB, free: 9.215 MB / 0.7448 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.0002006/0.009712, allocations: 112.2 kB / 0.7806 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.009814, allocations: 32.73 kB / 0.7807 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.00982, allocations: 0 / 0.7807 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.009848, allocations: 28.83 kB / 0.7807 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.473e-05/0.009933, allocations: 4.094 kB / 0.7807 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.01032, allocations: 181.5 kB / 0.7809 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.079e-05/0.01037, allocations: 67.34 kB / 0.7809 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.01045, allocations: 55.36 kB / 0.781 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/0.01045, allocations: 4 kB / 0.781 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of Templates: time 0.002168/0.01262, allocations: 1.149 MB / 0.7821 GB, free: 7.523 MB / 0.7448 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 > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.517057228833437]