Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007783/0.007783, allocations: 100 kB / 15.73 MB, free: 6.047 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.001383/0.001383, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.794/1.794, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6278/0.6278, allocations: 95.47 MB / 365.4 MB, free: 9.77 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 71.89 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1923, allocations: 69.09 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00288/0.1952, allocations: 1.411 MB / 0.5725 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004665/0.1957, allocations: 144.5 kB / 0.5726 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.1957, allocations: 0 / 0.5726 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.1958, allocations: 0 / 0.5726 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.1958, allocations: 3.938 kB / 0.5726 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.1963, allocations: 42.91 kB / 0.5726 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.1964, allocations: 19.92 kB / 0.5727 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1965, allocations: 8 kB / 0.5727 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.1966, allocations: 7.938 kB / 0.5727 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.1966, allocations: 19.91 kB / 0.5727 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1967, allocations: 0 / 0.5727 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.1968, allocations: 23.97 kB / 0.5727 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1968, allocations: 4 kB / 0.5727 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.1968, allocations: 11.94 kB / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.197, allocations: 35.89 kB / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.197, allocations: 0 / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.197, allocations: 0 / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.197, allocations: 0 / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005842/0.1976, allocations: 343.4 kB / 0.5731 GB, free: 6.191 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1977, allocations: 15.98 kB / 0.5731 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.634e-05/0.1978, allocations: 0.9375 kB / 0.5731 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1979, allocations: 168.3 kB / 0.5733 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.198, allocations: 16.06 kB / 0.5733 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.198, allocations: 3.984 kB / 0.5733 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.1982, allocations: 45.69 kB / 0.5733 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1982, allocations: 0 / 0.5733 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1982, allocations: 0 / 0.5733 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1982, allocations: 0 / 0.5733 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1984, allocations: 35.95 kB / 0.5734 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.1989, allocations: 260.8 kB / 0.5736 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.199, allocations: 34.5 kB / 0.5736 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.1991, allocations: 24.91 kB / 0.5737 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/0.1997, allocations: 413.5 kB / 0.5741 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1998, allocations: 38.56 kB / 0.5741 GB, free: 4.949 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.1998, allocations: 0 / 0.5741 GB, free: 4.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004098/0.2002, allocations: 77.64 kB / 0.5742 GB, free: 4.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.2002, allocations: 55.34 kB / 0.5742 GB, free: 4.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.2003, allocations: 105.8 kB / 0.5743 GB, free: 4.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.984e-05/0.2004, allocations: 29.83 kB / 0.5744 GB, free: 4.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.2005, allocations: 84.14 kB / 0.5744 GB, free: 4.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2005, allocations: 3.906 kB / 0.5744 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.2006, allocations: 13.72 kB / 0.5745 GB, free: 4.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.2008, allocations: 326.7 kB / 0.5748 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.2009, allocations: 15.98 kB / 0.5748 GB, free: 4.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.2009, allocations: 15.98 kB / 0.5748 GB, free: 4.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2011, allocations: 40.89 kB / 0.5748 GB, free: 4.141 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2011, allocations: 0 / 0.5748 GB, free: 4.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/0.2013, allocations: 65.66 kB / 0.5749 GB, free: 4.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2013, allocations: 4 kB / 0.5749 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2013, allocations: 3.938 kB / 0.5749 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2014, allocations: 32 / 0.5749 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.2014, allocations: 15.98 kB / 0.5749 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2015, allocations: 0 / 0.5749 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.2015, allocations: 7.984 kB / 0.5749 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2015, allocations: 3.938 kB / 0.5749 GB, free: 4.035 MB / 446.1 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 (2): * Single equations (assignments): 2 * 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 8.864e-05/0.2016, allocations: 109.8 kB / 0.575 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.2017, allocations: 4 kB / 0.575 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.2019, allocations: 80.89 kB / 0.5751 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2019, allocations: 0 / 0.5751 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2019, allocations: 8 kB / 0.5751 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.202, allocations: 7.922 kB / 0.5751 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.2023, allocations: 161.6 kB / 0.5753 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2023, allocations: 0 / 0.5753 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.2023, allocations: 15.92 kB / 0.5753 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2023, allocations: 0 / 0.5753 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.2024, allocations: 0 / 0.5753 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2024, allocations: 0 / 0.5753 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2024, allocations: 4.031 kB / 0.5753 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.2026, allocations: 163.5 kB / 0.5755 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.2027, allocations: 77.11 kB / 0.5755 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2027, allocations: 4 kB / 0.5755 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.2028, allocations: 3.984 kB / 0.5755 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.2029, allocations: 8.031 kB / 0.5756 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2029, allocations: 0 / 0.5756 GB, free: 3.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.054e-05/0.2029, allocations: 87.22 kB / 0.5756 GB, free: 3.215 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2029, allocations: 0 / 0.5756 GB, free: 3.215 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.2032, allocations: 12 kB / 0.5756 GB, free: 3.203 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000153/0.2033, allocations: 107.2 kB / 0.5757 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.2035, allocations: 39.91 kB / 0.5758 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2035, allocations: 0 / 0.5758 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.2036, allocations: 23.97 kB / 0.5758 GB, free: 3.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.2039, allocations: 4 kB / 0.5758 GB, free: 3.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.2042, allocations: 105.5 kB / 0.5759 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.2046, allocations: 0.6768 MB / 0.5766 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.2046, allocations: 12.11 kB / 0.5766 GB, free: 2.176 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.2047, allocations: 7.438 kB / 0.5766 GB, free: 2.168 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2047, allocations: 0 / 0.5766 GB, free: 2.168 MB / 446.1 MB Notification: Performance of Templates: time 0.002776/0.2074, allocations: 0.5877 MB / 0.5772 GB, free: 1.582 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)