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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00104/0.00104, allocations: 194.2 kB / 16.25 MB, free: 6.617 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 298.4 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 98.47 kB / 0.5947 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.148, allocations: 86.98 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002373/0.1504, allocations: 1.505 MB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1515, allocations: 0.788 MB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.1515, allocations: 0 / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.1515, allocations: 0 / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.1516, allocations: 3.938 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.152, allocations: 115.7 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.517e-05/0.152, allocations: 27.92 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.1521, allocations: 4 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.1521, allocations: 15.98 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.1522, allocations: 19.91 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1522, allocations: 4 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.1526, allocations: 319.4 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.1526, allocations: 7.984 kB / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.1527, allocations: 15.92 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1529, allocations: 199.9 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.153, allocations: 3.938 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.153, allocations: 0 / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.153, allocations: 0 / 0.6826 GB, free: 14.01 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004717/0.1534, allocations: 367.5 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.1535, allocations: 8.031 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004554/0.1539, allocations: 68.84 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1541, allocations: 172.3 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1541, allocations: 4.375 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1541, allocations: 4.375 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.1544, allocations: 81.94 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1544, allocations: 0 / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1544, allocations: 4 kB / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1544, allocations: 0 / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.1548, allocations: 95.89 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.1553, allocations: 296.7 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.1557, allocations: 98.48 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1559, allocations: 56.81 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1559, allocations: 0 / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.1559, allocations: 34.56 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1559, allocations: 0 / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006702/0.1566, allocations: 173.6 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1566, allocations: 51.41 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.1567, allocations: 97.86 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1567, allocations: 29.69 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.1568, allocations: 84.14 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1568, allocations: 7.938 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1568, allocations: 17.72 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.1569, allocations: 314.8 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.1571, allocations: 39.95 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.1573, allocations: 51.95 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.1577, allocations: 92.77 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1577, allocations: 0 / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004165/0.1581, allocations: 125.5 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1581, allocations: 4 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1581, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1582, allocations: 8.016 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.1583, allocations: 24.22 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1583, allocations: 0 / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1585, allocations: 19.98 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.1585, allocations: 3.938 kB / 0.6849 GB, free: 11.4 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 (2): * Single equations (assignments): 2 * 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 6.882e-05/0.1585, allocations: 123.1 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1586, allocations: 7.906 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.1586, allocations: 3.125 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1586, allocations: 0 / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1586, allocations: 0 / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1586, allocations: 0 / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1588, allocations: 173.6 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1588, allocations: 0 / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.159, allocations: 27.97 kB / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.159, allocations: 0 / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.159, allocations: 0 / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.159, allocations: 3.938 kB / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.159, allocations: 0 / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.1594, allocations: 219.4 kB / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.1595, allocations: 81.11 kB / 0.6855 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1595, allocations: 0 / 0.6855 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1597, allocations: 20 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1597, allocations: 8 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1597, allocations: 3.938 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.602e-05/0.1598, allocations: 83.27 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1598, allocations: 0 / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.16, allocations: 12 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB 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 (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.0001432/0.1601, allocations: 111.2 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.1606, allocations: 103.8 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1606, allocations: 0 / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.1608, allocations: 47.95 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1611, allocations: 9.312 kB / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.1616, allocations: 175.6 kB / 0.6861 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.1618, allocations: 0.6768 MB / 0.6867 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.477e-05/0.1619, allocations: 8 kB / 0.6867 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.1619, allocations: 11.44 kB / 0.6867 GB, free: 9.359 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1619, allocations: 0 / 0.6867 GB, free: 9.359 MB / 494.1 MB Notification: Performance of Templates: time 0.002515/0.1645, allocations: 0.764 MB / 0.6875 GB, free: 8.602 MB / 494.1 MB 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)