Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9787/0.9787, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 173 kB / 191.5 MB, free: 5.77 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.509/1.509, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0008935/0.0008933, allocations: 88.33 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001821/0.001821, allocations: 279.5 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004496, allocations: 18.34 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1997, allocations: 82.8 MB / 0.7737 GB, free: 13.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5674/0.7671, allocations: 109.8 MB / 0.8809 GB, free: 108 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.7675, allocations: 79.06 kB / 0.881 GB, free: 108 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01095/0.7785, allocations: 3.844 MB / 0.8848 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7785, allocations: 0 / 0.8848 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.7785, allocations: 2.562 kB / 0.8848 GB, free: 107.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004442/0.779, allocations: 384.2 kB / 0.8851 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.779, allocations: 8.5 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.7794, allocations: 71.02 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.727e-05/0.7795, allocations: 170.4 kB / 0.8854 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.7796, allocations: 3.953 kB / 0.8854 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.7796, allocations: 3.5 kB / 0.8854 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.7799, allocations: 93.97 kB / 0.8855 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7799, allocations: 0.75 kB / 0.8855 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7799, allocations: 3.938 kB / 0.8855 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7799, allocations: 6.625 kB / 0.8855 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.7804, allocations: 117.2 kB / 0.8856 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.7808, allocations: 295.4 kB / 0.8859 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.7812, allocations: 112.1 kB / 0.886 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.7812, allocations: 0 / 0.886 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.7812, allocations: 38.67 kB / 0.886 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7812, allocations: 0 / 0.886 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0007136/0.7819, allocations: 205.3 kB / 0.8862 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.782, allocations: 51.41 kB / 0.8863 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.782, allocations: 101.1 kB / 0.8864 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.7821, allocations: 26.31 kB / 0.8864 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.7821, allocations: 87.7 kB / 0.8865 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.7821, allocations: 4.562 kB / 0.8865 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.7821, allocations: 0 / 0.8865 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.7822, allocations: 319.2 kB / 0.8868 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.7824, allocations: 58.17 kB / 0.8868 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.7826, allocations: 55.41 kB / 0.8869 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.7828, allocations: 60.41 kB / 0.887 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7828, allocations: 0 / 0.887 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004693/0.7833, allocations: 145.8 kB / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7833, allocations: 5.969 kB / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7833, allocations: 0.7031 kB / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.7834, allocations: 5.125 kB / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.7835, allocations: 31.22 kB / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.7836, allocations: 0 / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.7837, allocations: 24.11 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.7837, allocations: 0.5625 kB / 0.8872 GB, free: 105.8 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 () * 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 5.755e-05/0.7838, allocations: 110.4 kB / 0.8873 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.7838, allocations: 6.75 kB / 0.8873 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.7838, allocations: 7.406 kB / 0.8873 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7838, allocations: 2.5 kB / 0.8873 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7839, allocations: 0 / 0.8873 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7839, allocations: 8.438 kB / 0.8873 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.784, allocations: 170.9 kB / 0.8874 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.784, allocations: 0 / 0.8874 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.7842, allocations: 30.7 kB / 0.8875 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7842, allocations: 0.75 kB / 0.8875 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.7842, allocations: 7.125 kB / 0.8875 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7842, allocations: 0.7031 kB / 0.8875 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7842, allocations: 0 / 0.8875 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.7847, allocations: 248.4 kB / 0.8877 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.7847, allocations: 81.72 kB / 0.8878 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7847, allocations: 0 / 0.8878 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.7849, allocations: 32.45 kB / 0.8878 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.7849, allocations: 4.609 kB / 0.8878 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7849, allocations: 1.125 kB / 0.8878 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.785, allocations: 82.78 kB / 0.8879 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.785, allocations: 2.594 kB / 0.8879 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002483/0.7852, allocations: 18.84 kB / 0.8879 GB, free: 105.2 MB / 0.5417 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.0001516/0.7854, allocations: 111.3 kB / 0.888 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.7859, allocations: 118.7 kB / 0.8882 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7859, allocations: 2.406 kB / 0.8882 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.7861, allocations: 65.66 kB / 0.8882 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.7863, allocations: 7.016 kB / 0.8882 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.7869, allocations: 176.5 kB / 0.8884 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.787, allocations: 0.6798 MB / 0.8891 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.764e-05/0.7871, allocations: 14.45 kB / 0.8891 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.7872, allocations: 11.19 kB / 0.8891 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.7872, allocations: 4 kB / 0.8891 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.0029/0.7901, allocations: 0.7092 MB / 0.8898 GB, free: 104.1 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)