Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 288.4 MB / 304.3 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009503/0.0009504, allocations: 190.1 kB / 373 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 96.64 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004338, allocations: 14.34 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1842, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6295/0.8137, allocations: 138.8 MB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.814, allocations: 81.95 kB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.8255, allocations: 4.163 MB / 1.12 GB, free: 31.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8256, allocations: 0 / 1.12 GB, free: 31.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.8256, allocations: 0 / 1.12 GB, free: 31.93 MB / 0.698 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.0004431/0.826, allocations: 388 kB / 1.121 GB, free: 31.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8261, allocations: 11.56 kB / 1.121 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.8264, allocations: 65.14 kB / 1.121 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.8265, allocations: 168.2 kB / 1.121 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.8265, allocations: 4.312 kB / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.8266, allocations: 4.219 kB / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.8268, allocations: 82.78 kB / 1.121 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.8268, allocations: 4.172 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.8268, allocations: 7.781 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8268, allocations: 0 / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.8272, allocations: 82.7 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.8273, allocations: 173.2 kB / 1.121 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.8278, allocations: 147.6 kB / 1.121 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.828, allocations: 48.78 kB / 1.122 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.828, allocations: 0 / 1.122 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.8281, allocations: 38.09 kB / 1.122 GB, free: 30.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.8281, allocations: 0 / 1.122 GB, free: 30.98 MB / 0.698 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.004508/0.8326, allocations: 1.028 MB / 1.123 GB, free: 30.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.8326, allocations: 51.41 kB / 1.123 GB, free: 30.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.8327, allocations: 114.2 kB / 1.123 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.8327, allocations: 29.52 kB / 1.123 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.8328, allocations: 84.08 kB / 1.123 GB, free: 30.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.8328, allocations: 30.06 kB / 1.123 GB, free: 30.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.8328, allocations: 3.812 kB / 1.123 GB, free: 30.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.833, allocations: 317.5 kB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.8334, allocations: 127.3 kB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.8338, allocations: 127 kB / 1.123 GB, free: 30.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007803/0.8345, allocations: 267.5 kB / 1.124 GB, free: 30.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.8346, allocations: 3.969 kB / 1.124 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008449/0.8354, allocations: 311.4 kB / 1.124 GB, free: 30.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.8354, allocations: 7.906 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.8354, allocations: 0 / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.8355, allocations: 3.812 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.8358, allocations: 73.03 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.8358, allocations: 0 / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.8361, allocations: 49.28 kB / 1.124 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.8361, allocations: 10.56 kB / 1.124 GB, free: 30.15 MB / 0.698 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.802e-05/0.8362, allocations: 113.3 kB / 1.124 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.8362, allocations: 7.844 kB / 1.124 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.8363, allocations: 16.06 kB / 1.124 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8363, allocations: 3.562 kB / 1.124 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8363, allocations: 0 / 1.124 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.8363, allocations: 7.938 kB / 1.124 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.838, allocations: 0.6936 MB / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.838, allocations: 3.906 kB / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.8383, allocations: 67.2 kB / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8383, allocations: 0 / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.8383, allocations: 6.531 kB / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8383, allocations: 0 / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8383, allocations: 11.81 kB / 1.125 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.8392, allocations: 399 kB / 1.125 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.8393, allocations: 91.73 kB / 1.125 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.8393, allocations: 0 / 1.125 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.8396, allocations: 45.78 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.8396, allocations: 17.28 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.8397, allocations: 13.36 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.8397, allocations: 90.05 kB / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8397, allocations: 192 / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002713/0.84, allocations: 35.16 kB / 1.126 GB, free: 29.3 MB / 0.698 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.0001823/0.8402, allocations: 136.8 kB / 1.126 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.841, allocations: 273.9 kB / 1.126 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.841, allocations: 0 / 1.126 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.8414, allocations: 138 kB / 1.126 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.8417, allocations: 9.469 kB / 1.126 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.8433, allocations: 0.4889 MB / 1.127 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.8435, allocations: 0.6861 MB / 1.127 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.8437, allocations: 28.02 kB / 1.127 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/0.8438, allocations: 32.42 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.8438, allocations: 0 / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of Templates: time 0.00349/0.8473, allocations: 1.793 MB / 1.129 GB, free: 28.15 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)