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.8269/0.8269, allocations: 143.4 MB / 158.3 MB, free: 5.762 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.001233/0.001233, allocations: 175.8 kB / 191.5 MB, free: 5.758 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.5/1.5, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.000952/0.0009519, allocations: 80.34 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 275.2 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004112, allocations: 14.53 kB / 0.6929 GB, free: 59.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 82.8 MB / 0.7737 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.334, allocations: 109.4 MB / 0.8805 GB, free: 284 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.3343, allocations: 81.98 kB / 0.8806 GB, free: 204 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3693/0.7036, allocations: 4.183 MB / 0.8847 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7037, allocations: 4 kB / 0.8847 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7037, allocations: 2.594 kB / 0.8847 GB, free: 109.2 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.0004186/0.7041, allocations: 390.7 kB / 0.8851 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7042, allocations: 11.67 kB / 0.8851 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.7045, allocations: 53.39 kB / 0.8852 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.7046, allocations: 170.4 kB / 0.8853 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.7047, allocations: 12.16 kB / 0.8853 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.7047, allocations: 2.438 kB / 0.8853 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.705, allocations: 84.44 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.705, allocations: 0.9375 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.705, allocations: 7.688 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.705, allocations: 0 / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.7054, allocations: 84.33 kB / 0.8855 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.7055, allocations: 167.8 kB / 0.8857 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.7061, allocations: 150.3 kB / 0.8858 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.7061, allocations: 3.984 kB / 0.8858 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.7062, allocations: 37.81 kB / 0.8858 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.7062, allocations: 0 / 0.8858 GB, free: 108.3 MB / 0.5417 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.00526/0.7114, allocations: 1.023 MB / 0.8868 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.7115, allocations: 55.34 kB / 0.8869 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.7116, allocations: 115.8 kB / 0.887 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.7116, allocations: 25.7 kB / 0.887 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.7116, allocations: 84.75 kB / 0.8871 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.7117, allocations: 32.11 kB / 0.8871 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.7117, allocations: 0 / 0.8871 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.051e-05/0.7118, allocations: 319.8 kB / 0.8874 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.7122, allocations: 129.6 kB / 0.8876 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.7127, allocations: 128.1 kB / 0.8877 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.7131, allocations: 124.2 kB / 0.8878 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7131, allocations: 0.8438 kB / 0.8878 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001002/0.7141, allocations: 318.2 kB / 0.8881 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.7142, allocations: 5.797 kB / 0.8881 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7142, allocations: 7.938 kB / 0.8881 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.7142, allocations: 1.875 kB / 0.8881 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.7146, allocations: 70.34 kB / 0.8882 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.7146, allocations: 1.375 kB / 0.8882 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.7149, allocations: 49.86 kB / 0.8882 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.715, allocations: 9.188 kB / 0.8883 GB, free: 107.4 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 (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 9.526e-05/0.7151, allocations: 111.2 kB / 0.8884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.7151, allocations: 11.42 kB / 0.8884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.7152, allocations: 13.5 kB / 0.8884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7152, allocations: 1.594 kB / 0.8884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7152, allocations: 0.5156 kB / 0.8884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.7152, allocations: 0.6562 kB / 0.8884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.7172, allocations: 0.6997 MB / 0.8891 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.7172, allocations: 0 / 0.8891 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.7175, allocations: 71.48 kB / 0.8891 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.7175, allocations: 4.281 kB / 0.8891 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.7176, allocations: 6.922 kB / 0.8891 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7176, allocations: 0.6562 kB / 0.8891 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7176, allocations: 0 / 0.8891 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.7186, allocations: 442 kB / 0.8896 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.7186, allocations: 84.78 kB / 0.8896 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.7187, allocations: 3.672 kB / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.719, allocations: 48.25 kB / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.7191, allocations: 16.09 kB / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.7191, allocations: 9.672 kB / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.7191, allocations: 87.28 kB / 0.8898 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7191, allocations: 2.625 kB / 0.8898 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003234/0.7195, allocations: 37.69 kB / 0.8898 GB, free: 106.6 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 () * 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.000202/0.7197, allocations: 132.6 kB / 0.89 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009626/0.7206, allocations: 265.7 kB / 0.8902 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7207, allocations: 0 / 0.8902 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.7211, allocations: 143.1 kB / 0.8904 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.7213, allocations: 8.156 kB / 0.8904 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.7231, allocations: 0.4946 MB / 0.8909 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.7233, allocations: 0.6943 MB / 0.8915 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000147/0.7234, allocations: 21.05 kB / 0.8916 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.7235, allocations: 27.64 kB / 0.8916 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.7235, allocations: 1.375 kB / 0.8916 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.004438/0.728, allocations: 1.782 MB / 0.8933 GB, free: 105.4 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)