Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 102.6 kB / 16.36 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 193.7 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 75.19 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2191, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002276/0.2215, allocations: 0.5981 MB / 0.7854 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2235, allocations: 1.486 MB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.2235, allocations: 0 / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.2236, allocations: 3.938 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.024e-05/0.2236, allocations: 0 / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.2242, allocations: 139.4 kB / 0.787 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.2243, allocations: 27.97 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.2244, allocations: 4 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.2244, allocations: 15.98 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.2245, allocations: 31.88 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2245, allocations: 3.938 kB / 0.7871 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.2251, allocations: 311.4 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2251, allocations: 15.97 kB / 0.7874 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.2251, allocations: 11.92 kB / 0.7874 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.2255, allocations: 187.6 kB / 0.7876 GB, free: 360 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2255, allocations: 4 kB / 0.7876 GB, free: 356 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2255, allocations: 3.938 kB / 0.7876 GB, free: 352 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2255, allocations: 0 / 0.7876 GB, free: 352 kB / 0.6544 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.3256/0.5511, allocations: 361.5 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5512, allocations: 10 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005373/0.5517, allocations: 69.59 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.457e-05/0.5518, allocations: 165.7 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.5519, allocations: 2.188 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.5519, allocations: 6 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.5522, allocations: 73.19 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5522, allocations: 1.938 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.5522, allocations: 3.938 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5522, allocations: 0 / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.5525, allocations: 64.19 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.5527, allocations: 167 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.5533, allocations: 121.2 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.5534, allocations: 49.23 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/0.5539, allocations: 151.2 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.5539, allocations: 33.84 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5539, allocations: 1.281 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.001023/0.5549, allocations: 406.8 kB / 0.7892 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.555, allocations: 52.22 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.032e-05/0.555, allocations: 97.83 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.555, allocations: 29.05 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.442e-05/0.555, allocations: 85.52 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.5551, allocations: 20.25 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.5551, allocations: 20.91 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.5552, allocations: 315.9 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.5553, allocations: 42.19 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.5555, allocations: 34.42 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.5557, allocations: 79.55 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5558, allocations: 0 / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003214/0.5561, allocations: 113.1 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5561, allocations: 12.5 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5561, allocations: 2.125 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5561, allocations: 0 / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.5563, allocations: 25 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5563, allocations: 0 / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.5564, allocations: 18.66 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.5564, allocations: 0 / 0.7901 GB, free: 47.36 MB / 0.6544 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 5.119e-05/0.5565, allocations: 111.9 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.5565, allocations: 6.719 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.5569, allocations: 138.5 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5569, allocations: 1.25 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5569, allocations: 0 / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5569, allocations: 2.156 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.613e-05/0.557, allocations: 164.8 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.557, allocations: 0 / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5572, allocations: 23.7 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5572, allocations: 8.312 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5572, allocations: 6.469 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5572, allocations: 0 / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5572, allocations: 0 / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.5577, allocations: 184.2 kB / 0.7907 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.5578, allocations: 87.83 kB / 0.7908 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.5578, allocations: 7.125 kB / 0.7908 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5579, allocations: 16.58 kB / 0.7908 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.558, allocations: 5.625 kB / 0.7908 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.558, allocations: 7.172 kB / 0.7908 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.733e-05/0.558, allocations: 77.91 kB / 0.7909 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.01e-07/0.558, allocations: 0 / 0.7909 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002352/0.5583, allocations: 41.31 kB / 0.7909 GB, free: 46.76 MB / 0.6544 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.0001738/0.5584, allocations: 134.7 kB / 0.7911 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.5588, allocations: 78.52 kB / 0.7911 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5588, allocations: 4 kB / 0.7911 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.559, allocations: 47.77 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.5591, allocations: 0.7812 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.5597, allocations: 173.4 kB / 0.7913 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.144e-05/0.5598, allocations: 0.6835 MB / 0.792 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.02e-05/0.5599, allocations: 24.91 kB / 0.792 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.5599, allocations: 12.78 kB / 0.792 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.5599, allocations: 0 / 0.792 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.003086/0.563, allocations: 1.152 MB / 0.7932 GB, free: 45.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)