Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.29/1.29, allocations: 252 MB / 267.9 MB, free: 10.92 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.001027/0.001027, allocations: 190.2 kB / 327.6 MB, free: 2.145 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.419/1.419, allocations: 205.4 MB / 0.5785 GB, free: 20.18 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.0008006/0.0008005, allocations: 95.5 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 16.38 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.178, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.3333, allocations: 132.5 MB / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.3336, allocations: 79.95 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.346, allocations: 4.177 MB / 1.035 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.346, allocations: 0 / 1.035 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.346, allocations: 0 / 1.035 GB, free: 6.762 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004239/0.3465, allocations: 387.2 kB / 1.035 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3465, allocations: 12.03 kB / 1.035 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.3468, allocations: 60.78 kB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3469, allocations: 168.3 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.347, allocations: 4.375 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.347, allocations: 8.359 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.3472, allocations: 82.14 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3473, allocations: 192 / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3473, allocations: 7.875 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3473, allocations: 0 / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.3476, allocations: 87.92 kB / 1.036 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.3478, allocations: 169.6 kB / 1.036 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.3483, allocations: 146.5 kB / 1.036 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.3485, allocations: 52.94 kB / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.3485, allocations: 4 kB / 1.036 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3485, allocations: 34.5 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3486, allocations: 4 kB / 1.036 GB, free: 5.395 MB / 0.6823 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004602/0.3532, allocations: 1.023 MB / 1.037 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3532, allocations: 55.41 kB / 1.037 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.3533, allocations: 113.8 kB / 1.037 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3533, allocations: 25.7 kB / 1.037 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.3534, allocations: 88.08 kB / 1.037 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.3534, allocations: 31.55 kB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.3535, allocations: 0 / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3536, allocations: 322.8 kB / 1.038 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.354, allocations: 119.9 kB / 1.038 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.3544, allocations: 131.9 kB / 1.038 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.3552, allocations: 260.7 kB / 1.038 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3552, allocations: 0 / 1.038 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009081/0.3562, allocations: 317.2 kB / 1.038 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3562, allocations: 4 kB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3562, allocations: 7.984 kB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3562, allocations: 0 / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.3566, allocations: 68.11 kB / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3566, allocations: 3.938 kB / 1.038 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.3569, allocations: 55.95 kB / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3569, allocations: 8.359 kB / 1.038 GB, free: 2.738 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 (9): * Single equations (assignments): 9 * 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.581e-05/0.357, allocations: 113.8 kB / 1.039 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.357, allocations: 7.938 kB / 1.039 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.3571, allocations: 8.375 kB / 1.039 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3571, allocations: 7.938 kB / 1.039 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3571, allocations: 0 / 1.039 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3571, allocations: 0 / 1.039 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.3589, allocations: 0.7008 MB / 1.039 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3589, allocations: 0 / 1.039 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.3592, allocations: 71.92 kB / 1.039 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3592, allocations: 3.984 kB / 1.039 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.3592, allocations: 4 kB / 1.039 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3592, allocations: 3.984 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3593, allocations: 4.078 kB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009597/0.3602, allocations: 408.8 kB / 1.04 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.3603, allocations: 85.11 kB / 1.04 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3603, allocations: 4 kB / 1.04 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.3606, allocations: 43.95 kB / 1.04 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.3606, allocations: 19.91 kB / 1.04 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3607, allocations: 11.98 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.3607, allocations: 91.27 kB / 1.04 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3607, allocations: 0 / 1.04 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002896/0.361, allocations: 39.92 kB / 1.04 GB, free: 1.008 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0002165/0.3613, allocations: 127.1 kB / 1.04 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008813/0.3622, allocations: 267.8 kB / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3622, allocations: 0 / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.3626, allocations: 135.9 kB / 1.041 GB, free: 492 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3628, allocations: 9.266 kB / 1.041 GB, free: 484 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.3646, allocations: 0.4998 MB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3648, allocations: 0.6848 MB / 1.042 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.365, allocations: 32.88 kB / 1.042 GB, free: 15.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.452e-05/0.3651, allocations: 23.41 kB / 1.042 GB, free: 15.17 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/0.3651, allocations: 0 / 1.042 GB, free: 15.17 MB / 0.698 GB Notification: Performance of Templates: time 0.00419/0.3693, allocations: 1.788 MB / 1.044 GB, free: 13.38 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)