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.0009502/0.0009503, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.0008959/0.0008959, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.198/1.198, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.644/1.644, allocations: 292.3 MB / 0.5495 GB, free: 17.75 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.001345/0.001345, allocations: 67.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1959, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001576/0.1975, allocations: 0.602 MB / 0.7847 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.199, allocations: 1.49 MB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.1991, allocations: 4 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1991, allocations: 0 / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.854e-05/0.1991, allocations: 0 / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1996, allocations: 135.4 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.1996, allocations: 35.92 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.1997, allocations: 7.984 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.1997, allocations: 15.92 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/0.1998, allocations: 23.95 kB / 0.7863 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1998, allocations: 4 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.2003, allocations: 311.4 kB / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2003, allocations: 7.984 kB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.2003, allocations: 11.92 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.2006, allocations: 191.6 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2006, allocations: 0 / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2006, allocations: 0 / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2006, allocations: 11.94 kB / 0.7869 GB, free: 0.957 MB / 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.0004348/0.2011, allocations: 363.8 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.2011, allocations: 8.031 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.2015, allocations: 72.75 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.519e-05/0.2016, allocations: 160.4 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2016, allocations: 4.375 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.2017, allocations: 4.375 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.2019, allocations: 85.88 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2019, allocations: 0 / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2019, allocations: 0 / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2019, allocations: 0 / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.2022, allocations: 63.94 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3144/0.5166, allocations: 157.8 kB / 0.7877 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.5172, allocations: 126 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.5173, allocations: 42.88 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/0.5177, allocations: 152.8 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.5177, allocations: 34.88 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.5177, allocations: 0 / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0009527/0.5187, allocations: 405.2 kB / 0.7885 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.5187, allocations: 60.88 kB / 0.7885 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.545e-05/0.5188, allocations: 97.62 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5188, allocations: 30.14 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.498e-05/0.5188, allocations: 80.7 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.5188, allocations: 18.22 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.5189, allocations: 23.31 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.5189, allocations: 312.6 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.5191, allocations: 43.91 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.5192, allocations: 39.58 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.5194, allocations: 78.72 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5195, allocations: 0.5 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000288/0.5197, allocations: 113.7 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5198, allocations: 4.688 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5198, allocations: 0 / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.5198, allocations: 1.375 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5199, allocations: 29.22 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5199, allocations: 2.688 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.52, allocations: 11.34 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.52, allocations: 0 / 0.7894 GB, free: 47.77 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.393e-05/0.5201, allocations: 118.3 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.5201, allocations: 2.656 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.5205, allocations: 133.6 kB / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5205, allocations: 7.172 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5205, allocations: 0 / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5205, allocations: 5.938 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.392e-05/0.5206, allocations: 166.2 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5206, allocations: 1.781 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.5208, allocations: 27.03 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5208, allocations: 0 / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5208, allocations: 3.5 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5208, allocations: 6.969 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5208, allocations: 2.781 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.5212, allocations: 186 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.5213, allocations: 85.28 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.5213, allocations: 3.906 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.5214, allocations: 15.84 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.5215, allocations: 6.828 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.5215, allocations: 3.875 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.637e-05/0.5215, allocations: 77.91 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.22e-07/0.5215, allocations: 0 / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000212/0.5217, allocations: 34.25 kB / 0.7902 GB, free: 47.2 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.0001791/0.5219, allocations: 131.9 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.5222, allocations: 84.34 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5222, allocations: 0 / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.5224, allocations: 52.2 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.5225, allocations: 5.281 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.523, allocations: 172.1 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.092e-05/0.5231, allocations: 0.6794 MB / 0.7913 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.02e-05/0.5232, allocations: 20.83 kB / 0.7913 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.5232, allocations: 13.69 kB / 0.7913 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.5232, allocations: 0 / 0.7913 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.002913/0.5261, allocations: 1.153 MB / 0.7925 GB, free: 46.23 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)