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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 281.8 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8836/0.8836, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 94.08 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1497, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001724/0.1515, allocations: 0.6266 MB / 0.6822 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1531, allocations: 1.454 MB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.1532, allocations: 0 / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.1532, allocations: 3.938 kB / 0.6836 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.1533, allocations: 4 kB / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.1537, allocations: 127.5 kB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.539e-05/0.1538, allocations: 27.91 kB / 0.6838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.1538, allocations: 4 kB / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.1538, allocations: 11.94 kB / 0.6838 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1539, allocations: 23.89 kB / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1539, allocations: 0 / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.1544, allocations: 323.4 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.1544, allocations: 11.88 kB / 0.6842 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.1544, allocations: 15.91 kB / 0.6842 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1547, allocations: 187.5 kB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1547, allocations: 4 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1547, allocations: 0 / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1547, allocations: 0 / 0.6844 GB, free: 4.609 MB / 494.1 MB 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.000437/0.1552, allocations: 379.3 kB / 0.6847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.1552, allocations: 8.031 kB / 0.6847 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/0.1556, allocations: 64.77 kB / 0.6848 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1557, allocations: 172.4 kB / 0.6849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1557, allocations: 384 / 0.6849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1558, allocations: 4.375 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.156, allocations: 73.95 kB / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.156, allocations: 7.938 kB / 0.685 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.156, allocations: 4 kB / 0.685 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.156, allocations: 0 / 0.685 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.1564, allocations: 67.92 kB / 0.6851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.1566, allocations: 181.6 kB / 0.6853 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.1571, allocations: 122.5 kB / 0.6854 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1572, allocations: 40.95 kB / 0.6854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1573, allocations: 0 / 0.6854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1573, allocations: 46.44 kB / 0.6855 GB, free: 3.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.1573, allocations: 0 / 0.6855 GB, free: 3.301 MB / 494.1 MB 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.003842/0.1611, allocations: 0.7753 MB / 0.6862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1612, allocations: 55.41 kB / 0.6863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.1613, allocations: 113.8 kB / 0.6864 GB, free: 2.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1613, allocations: 29.7 kB / 0.6864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.1614, allocations: 80.14 kB / 0.6865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1614, allocations: 35.53 kB / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.1615, allocations: 33.64 kB / 0.6866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1616, allocations: 310.8 kB / 0.6869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.162, allocations: 103.9 kB / 0.687 GB, free: 1.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1624, allocations: 99.92 kB / 0.6871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.1631, allocations: 184.7 kB / 0.6872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1631, allocations: 0 / 0.6872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008771/0.164, allocations: 253.3 kB / 0.6875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.164, allocations: 4 kB / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1641, allocations: 0 / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1641, allocations: 0 / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.1644, allocations: 59.94 kB / 0.6875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1644, allocations: 7.875 kB / 0.6875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.1646, allocations: 39.95 kB / 0.6876 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1646, allocations: 0 / 0.6876 GB, free: 1.082 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.1647, allocations: 121.8 kB / 0.6877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.1647, allocations: 4 kB / 0.6877 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.975e-05/0.1648, allocations: 8.375 kB / 0.6877 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1648, allocations: 0 / 0.6877 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1648, allocations: 0 / 0.6877 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1648, allocations: 4 kB / 0.6877 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.1664, allocations: 0.5974 MB / 0.6883 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1664, allocations: 0.75 kB / 0.6883 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.1666, allocations: 59.94 kB / 0.6884 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1667, allocations: 0 / 0.6884 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1667, allocations: 7.984 kB / 0.6884 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1667, allocations: 4 kB / 0.6884 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1667, allocations: 0 / 0.6884 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2306/0.3973, allocations: 343.2 kB / 0.6887 GB, free: 18.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.3974, allocations: 86.16 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.3974, allocations: 1.719 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3976, allocations: 40.19 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3977, allocations: 12.48 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3977, allocations: 7.109 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.731e-05/0.3978, allocations: 89.38 kB / 0.6889 GB, free: 18.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3978, allocations: 1.531 kB / 0.6889 GB, free: 18.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.3981, allocations: 35.89 kB / 0.689 GB, free: 18.05 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.3982, allocations: 134.7 kB / 0.6891 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008761/0.3991, allocations: 205.9 kB / 0.6893 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3991, allocations: 0 / 0.6893 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.3995, allocations: 112.6 kB / 0.6894 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3998, allocations: 10.5 kB / 0.6894 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.4012, allocations: 404.7 kB / 0.6898 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.4013, allocations: 0.6859 MB / 0.6904 GB, free: 17.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.244e-05/0.4014, allocations: 25.31 kB / 0.6905 GB, free: 17.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.4015, allocations: 19.23 kB / 0.6905 GB, free: 17.13 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4015, allocations: 0 / 0.6905 GB, free: 17.13 MB / 494.1 MB Notification: Performance of Templates: time 0.004156/0.4056, allocations: 1.659 MB / 0.6921 GB, free: 17.07 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)