Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009818/0.0009817, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009687/0.0009687, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.42/1.42, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.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.677/1.677, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001306/0.001306, allocations: 66.78 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2281, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002858/0.2311, allocations: 1.487 MB / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2324, allocations: 0.8636 MB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.2324, allocations: 4 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.2325, allocations: 3.938 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.2326, allocations: 7.922 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.233, allocations: 91.75 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.091e-05/0.233, allocations: 35.86 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.2331, allocations: 4 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.2332, allocations: 11.98 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.2333, allocations: 23.91 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.2333, allocations: 4 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.2337, allocations: 315.3 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.2337, allocations: 11.98 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.2338, allocations: 11.92 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.2341, allocations: 191.9 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2341, allocations: 4 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2341, allocations: 0 / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2341, allocations: 0 / 0.7857 GB, free: 10.93 MB / 0.6075 GB 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.0005181/0.2346, allocations: 375.4 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2347, allocations: 8.031 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004596/0.2351, allocations: 68.84 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2353, allocations: 172.2 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2353, allocations: 4.375 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2353, allocations: 384 / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.2356, allocations: 85.94 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2356, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2357, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2357, allocations: 7.984 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.2361, allocations: 95.83 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.2366, allocations: 296.8 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.237, allocations: 94.5 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2372, allocations: 48.88 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.2372, allocations: 3.984 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2372, allocations: 46.44 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2372, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006952/0.2379, allocations: 161.7 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.238, allocations: 51.41 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.2381, allocations: 105.8 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2381, allocations: 25.7 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.2381, allocations: 88.14 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.2381, allocations: 3.906 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.2382, allocations: 21.73 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.2383, allocations: 314.8 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.2385, allocations: 39.95 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2387, allocations: 47.95 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.2391, allocations: 104.6 kB / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2391, allocations: 0 / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004174/0.2395, allocations: 121.6 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2395, allocations: 4 kB / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2395, allocations: 0 / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2395, allocations: 0 / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2397, allocations: 28 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2397, allocations: 0 / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.2398, allocations: 19.88 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.2399, allocations: 4 kB / 0.788 GB, free: 8.305 MB / 0.6075 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 (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 7.104e-05/0.2399, allocations: 110.9 kB / 0.7881 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.24, allocations: 4 kB / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.24, allocations: 11.12 kB / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.24, allocations: 0 / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.24, allocations: 7.922 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.24, allocations: 0 / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.2402, allocations: 169.6 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2402, allocations: 0 / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.2403, allocations: 23.97 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2404, allocations: 4 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2404, allocations: 0 / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2404, allocations: 0 / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2404, allocations: 3.938 kB / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.2408, allocations: 219.4 kB / 0.7885 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.2409, allocations: 81.02 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.2409, allocations: 7.984 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2411, allocations: 16.02 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.2411, allocations: 7.984 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2411, allocations: 0 / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.2412, allocations: 87.53 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.343e-06/0.2412, allocations: 0 / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002359/0.2414, allocations: 15.94 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB 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.0001629/0.2416, allocations: 107.2 kB / 0.7888 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.242, allocations: 99.91 kB / 0.7889 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2421, allocations: 0 / 0.7889 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.2423, allocations: 47.94 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2426, allocations: 3.938 kB / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.2431, allocations: 167.3 kB / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.2433, allocations: 0.6809 MB / 0.7898 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.782e-05/0.2434, allocations: 11.94 kB / 0.7898 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.2434, allocations: 15.38 kB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2434, allocations: 3.938 kB / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.002596/0.246, allocations: 0.7292 MB / 0.7905 GB, free: 5.539 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)