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.00114/0.00114, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009651/0.0009653, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.702/1.702, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.000559/0.0005591, allocations: 15.97 kB / 0.6735 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2528, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001599/0.2544, allocations: 1.148 MB / 0.7882 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2557, allocations: 0.767 MB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.2558, allocations: 3.938 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.2558, allocations: 0 / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.2559, allocations: 19.92 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.2562, allocations: 87.75 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.2563, allocations: 23.97 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.926e-05/0.2564, allocations: 7.984 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.2565, allocations: 11.92 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.2565, allocations: 19.98 kB / 0.7891 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2565, allocations: 0 / 0.7891 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.257, allocations: 319.4 kB / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.257, allocations: 0 / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.257, allocations: 29.7 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.2572, allocations: 144.1 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2573, allocations: 0 / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2573, allocations: 0 / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.2573, allocations: 0 / 0.7896 GB, free: 9.375 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.000477/0.2578, allocations: 385.9 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2578, allocations: 8.031 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.2583, allocations: 79.91 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2584, allocations: 171 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.2584, allocations: 3.938 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2585, allocations: 7.984 kB / 0.7902 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.2588, allocations: 97.62 kB / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2588, allocations: 0 / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2588, allocations: 0 / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2588, allocations: 0 / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.2592, allocations: 115.9 kB / 0.7904 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.2598, allocations: 308.7 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.2602, allocations: 114.5 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2602, allocations: 0 / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2603, allocations: 34.55 kB / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2603, allocations: 0 / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.00075/0.261, allocations: 205.7 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2611, allocations: 51.41 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.2612, allocations: 109.8 kB / 0.7912 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2612, allocations: 25.7 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.2612, allocations: 84.14 kB / 0.7913 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2612, allocations: 3.906 kB / 0.7913 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2613, allocations: 4.031 kB / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.2614, allocations: 318.8 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.2616, allocations: 59.95 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.2618, allocations: 55.95 kB / 0.7918 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.262, allocations: 56.02 kB / 0.7918 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.262, allocations: 0 / 0.7918 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004319/0.2624, allocations: 145.5 kB / 0.792 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2624, allocations: 7.938 kB / 0.792 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2625, allocations: 4.031 kB / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2625, allocations: 0 / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.2626, allocations: 27.97 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2627, allocations: 0 / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2628, allocations: 28.19 kB / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2628, allocations: 7.984 kB / 0.792 GB, free: 6.695 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.2629, allocations: 109.8 kB / 0.7921 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.2629, allocations: 3.938 kB / 0.7921 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.263, allocations: 11.12 kB / 0.7921 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.263, allocations: 0 / 0.7921 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.263, allocations: 0 / 0.7921 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.263, allocations: 4 kB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.2632, allocations: 177.5 kB / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2632, allocations: 0 / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.2633, allocations: 27.97 kB / 0.7923 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2633, allocations: 0 / 0.7923 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2633, allocations: 0 / 0.7923 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2633, allocations: 0 / 0.7923 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2634, allocations: 4 kB / 0.7923 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.2639, allocations: 251.3 kB / 0.7926 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.2639, allocations: 77.11 kB / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2639, allocations: 0 / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.2641, allocations: 27.97 kB / 0.7927 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.2641, allocations: 4 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2641, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.2642, allocations: 87.3 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2642, allocations: 0 / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002353/0.2644, allocations: 16 kB / 0.7928 GB, free: 5.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.2646, allocations: 103.2 kB / 0.7929 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.2651, allocations: 123.9 kB / 0.793 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2651, allocations: 0 / 0.793 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.2653, allocations: 67.95 kB / 0.7931 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2655, allocations: 3.953 kB / 0.7931 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.2661, allocations: 188.6 kB / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2664, allocations: 0.6809 MB / 0.7939 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.558e-05/0.2664, allocations: 8 kB / 0.7939 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.2665, allocations: 15.42 kB / 0.7939 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2665, allocations: 0 / 0.7939 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of Templates: time 0.002804/0.2693, allocations: 0.7135 MB / 0.7946 GB, free: 3.863 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: