Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000962/0.0009619, allocations: 188.8 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 0.5785 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007633/0.0007633, allocations: 86.19 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 15.88 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.3185, allocations: 132.9 MB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.3187, allocations: 79.95 kB / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.3298, allocations: 3.818 MB / 1.035 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3299, allocations: 0 / 1.035 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3299, allocations: 0 / 1.035 GB, free: 7.074 MB / 0.6823 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.0003977/0.3303, allocations: 387.3 kB / 1.035 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3303, allocations: 8.031 kB / 1.035 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.3307, allocations: 68.86 kB / 1.035 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3308, allocations: 168.3 kB / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3308, allocations: 4.375 kB / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3308, allocations: 384 / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.3311, allocations: 98.19 kB / 1.036 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3312, allocations: 192 / 1.036 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3312, allocations: 3.938 kB / 1.036 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3312, allocations: 3.938 kB / 1.036 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.3316, allocations: 119.8 kB / 1.036 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.3322, allocations: 292.9 kB / 1.036 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.3325, allocations: 118.4 kB / 1.036 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.3328, allocations: 68.86 kB / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3328, allocations: 0 / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3328, allocations: 34.56 kB / 1.036 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3328, allocations: 0 / 1.036 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0006976/0.3335, allocations: 205.5 kB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3336, allocations: 55.39 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.3337, allocations: 105.9 kB / 1.036 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3337, allocations: 25.7 kB / 1.037 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.3337, allocations: 84.14 kB / 1.037 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3338, allocations: 15.88 kB / 1.037 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.3338, allocations: 0 / 1.037 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3339, allocations: 314.9 kB / 1.037 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3341, allocations: 55.95 kB / 1.037 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.3343, allocations: 55.95 kB / 1.037 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.3346, allocations: 120.8 kB / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3347, allocations: 0 / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004031/0.3351, allocations: 153.4 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3351, allocations: 4 kB / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.3351, allocations: 0 / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3351, allocations: 0 / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3353, allocations: 32 kB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3353, allocations: 0 / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3354, allocations: 27.97 kB / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3354, allocations: 4 kB / 1.037 GB, free: 4.273 MB / 0.6823 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 6.814e-05/0.3355, allocations: 114.4 kB / 1.037 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3355, allocations: 0 / 1.037 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.3356, allocations: 11.12 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3356, allocations: 0 / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3356, allocations: 0 / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3356, allocations: 3.938 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.3358, allocations: 169.6 kB / 1.038 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3358, allocations: 0 / 1.038 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.3359, allocations: 35.91 kB / 1.038 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3359, allocations: 0 / 1.038 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3359, allocations: 4 kB / 1.038 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3359, allocations: 0 / 1.038 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3359, allocations: 0 / 1.038 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.3364, allocations: 243.4 kB / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.3364, allocations: 81.02 kB / 1.038 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3365, allocations: 4 kB / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3366, allocations: 28 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3367, allocations: 4 kB / 1.038 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3367, allocations: 3.984 kB / 1.038 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.3367, allocations: 79.53 kB / 1.038 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3367, allocations: 0 / 1.038 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002175/0.3369, allocations: 19.94 kB / 1.038 GB, free: 3.395 MB / 0.6823 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.0001591/0.3371, allocations: 119.2 kB / 1.038 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.3375, allocations: 115.8 kB / 1.038 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3376, allocations: 0 / 1.038 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3378, allocations: 64.02 kB / 1.038 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.338, allocations: 18.22 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.3386, allocations: 164.9 kB / 1.039 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.3388, allocations: 0.677 MB / 1.039 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.158e-05/0.3389, allocations: 15.94 kB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.3389, allocations: 11.44 kB / 1.039 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3389, allocations: 0 / 1.039 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.002589/0.3415, allocations: 0.724 MB / 1.04 GB, free: 1.438 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)