Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000976/0.000976, allocations: 184 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001097, allocations: 94 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001967/0.001967, allocations: 263.3 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.995e-05/5.009e-05, allocations: 8 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.501, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.6287, allocations: 109.3 MB / 0.871 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.629, allocations: 83.83 kB / 0.8711 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.6422, allocations: 4.179 MB / 0.8752 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6422, allocations: 3.938 kB / 0.8752 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.6422, allocations: 0 / 0.8752 GB, free: 10.98 MB / 0.5417 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.0004099/0.6427, allocations: 371.7 kB / 0.8755 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6427, allocations: 8.031 kB / 0.8756 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.6431, allocations: 59.84 kB / 0.8756 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.6432, allocations: 171.1 kB / 0.8758 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.6433, allocations: 3.953 kB / 0.8758 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.6433, allocations: 11.92 kB / 0.8758 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.6434, allocations: 49.69 kB / 0.8758 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6434, allocations: 3.938 kB / 0.8758 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.6435, allocations: 0 / 0.8758 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6435, allocations: 0 / 0.8758 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.6436, allocations: 23.98 kB / 0.8759 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.6438, allocations: 169.7 kB / 0.876 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.6439, allocations: 54.98 kB / 0.8761 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.6439, allocations: 16.98 kB / 0.8761 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.644, allocations: 4 kB / 0.8761 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.644, allocations: 42.5 kB / 0.8761 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.644, allocations: 0 / 0.8761 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.002445/0.6465, allocations: 437.3 kB / 0.8766 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.6465, allocations: 55.41 kB / 0.8766 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.6466, allocations: 107.6 kB / 0.8767 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.6467, allocations: 29.7 kB / 0.8767 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.6467, allocations: 84.05 kB / 0.8768 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.6468, allocations: 27.64 kB / 0.8768 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.6468, allocations: 4 kB / 0.8769 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6469, allocations: 318.8 kB / 0.8772 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.647, allocations: 39.98 kB / 0.8772 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.6471, allocations: 43.92 kB / 0.8772 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.616e-05/0.6472, allocations: 40.19 kB / 0.8773 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6472, allocations: 3.953 kB / 0.8773 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002516/0.6475, allocations: 133.5 kB / 0.8774 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6475, allocations: 9.25 kB / 0.8774 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.6475, allocations: 4.062 kB / 0.8774 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6475, allocations: 0 / 0.8774 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.6479, allocations: 67.92 kB / 0.8775 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.648, allocations: 0 / 0.8775 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.6482, allocations: 51.95 kB / 0.8775 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.6483, allocations: 7.984 kB / 0.8775 GB, free: 8.371 MB / 0.5417 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 () * 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 7.859e-05/0.6484, allocations: 101 kB / 0.8776 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.6484, allocations: 19.84 kB / 0.8777 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.6484, allocations: 12.62 kB / 0.8777 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6484, allocations: 3.938 kB / 0.8777 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6485, allocations: 0 / 0.8777 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6485, allocations: 4 kB / 0.8777 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.6496, allocations: 0.521 MB / 0.8782 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6496, allocations: 0 / 0.8782 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.65, allocations: 67.98 kB / 0.8782 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.65, allocations: 0 / 0.8782 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.65, allocations: 7.984 kB / 0.8783 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.65, allocations: 0 / 0.8783 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.65, allocations: 4 kB / 0.8783 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.6503, allocations: 248.5 kB / 0.8785 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.6504, allocations: 81.02 kB / 0.8786 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.6504, allocations: 4 kB / 0.8786 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.6507, allocations: 51.91 kB / 0.8786 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.6508, allocations: 19.91 kB / 0.8786 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.6508, allocations: 7.984 kB / 0.8787 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.817e-05/0.6508, allocations: 93.5 kB / 0.8787 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6509, allocations: 0 / 0.8787 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002802/0.6511, allocations: 39.88 kB / 0.8788 GB, free: 6.98 MB / 0.5417 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 () * 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.0002135/0.6514, allocations: 127.2 kB / 0.8789 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.6516, allocations: 91.89 kB / 0.879 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6516, allocations: 0 / 0.879 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.6517, allocations: 55.91 kB / 0.879 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.6519, allocations: 7.938 kB / 0.879 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.6533, allocations: 354.5 kB / 0.8794 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.6535, allocations: 0.6887 MB / 0.8801 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.6537, allocations: 20.67 kB / 0.8801 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.6538, allocations: 31.39 kB / 0.8801 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.6538, allocations: 4 kB / 0.8801 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of Templates: time 0.004044/0.6579, allocations: 1.773 MB / 0.8818 GB, free: 3.773 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)