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.001437/0.001437, allocations: 109 kB / 15.99 MB, free: 6.348 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.001345/0.001345, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.307/1.307, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002448, allocations: 295.8 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.14/1.14, allocations: 178.5 MB / 0.5076 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 103.8 kB / 0.6066 GB, free: 9.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1607, allocations: 89.13 MB / 0.6936 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002548/0.1633, allocations: 1.51 MB / 0.6951 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1645, allocations: 0.7798 MB / 0.6959 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.1645, allocations: 4 kB / 0.6959 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.1645, allocations: 3.938 kB / 0.6959 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.1646, allocations: 4 kB / 0.6959 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.165, allocations: 103.7 kB / 0.696 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.967e-05/0.1651, allocations: 31.92 kB / 0.696 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.1651, allocations: 15.97 kB / 0.696 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.1652, allocations: 15.92 kB / 0.696 GB, free: 14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.1652, allocations: 19.92 kB / 0.696 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1653, allocations: 4 kB / 0.6961 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.1657, allocations: 315.3 kB / 0.6964 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1657, allocations: 7.938 kB / 0.6964 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.1657, allocations: 11.98 kB / 0.6964 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.166, allocations: 148 kB / 0.6965 GB, free: 13.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.166, allocations: 0 / 0.6965 GB, free: 13.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.166, allocations: 0 / 0.6965 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.166, allocations: 4 kB / 0.6965 GB, free: 13.5 MB / 0.545 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.0005033/0.1665, allocations: 367.5 kB / 0.6969 GB, free: 13.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1666, allocations: 12.02 kB / 0.6969 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.167, allocations: 64.86 kB / 0.6969 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1671, allocations: 176.3 kB / 0.6971 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1672, allocations: 4.375 kB / 0.6971 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.1672, allocations: 4.312 kB / 0.6971 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.1675, allocations: 85.94 kB / 0.6972 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1675, allocations: 0 / 0.6972 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1675, allocations: 7.984 kB / 0.6972 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1675, allocations: 0 / 0.6972 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.1679, allocations: 87.91 kB / 0.6973 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.1684, allocations: 300.8 kB / 0.6976 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.1688, allocations: 102.4 kB / 0.6977 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.169, allocations: 44.88 kB / 0.6977 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.169, allocations: 4 kB / 0.6977 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.169, allocations: 34.56 kB / 0.6978 GB, free: 12.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.169, allocations: 0 / 0.6978 GB, free: 12.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0006714/0.1697, allocations: 165.5 kB / 0.6979 GB, free: 11.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1698, allocations: 55.53 kB / 0.698 GB, free: 11.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.1698, allocations: 105.8 kB / 0.6981 GB, free: 11.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1699, allocations: 29.64 kB / 0.6981 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.1699, allocations: 84.14 kB / 0.6982 GB, free: 11.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1699, allocations: 7.906 kB / 0.6982 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.17, allocations: 13.72 kB / 0.6982 GB, free: 11.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1701, allocations: 314.8 kB / 0.6985 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.1703, allocations: 47.95 kB / 0.6985 GB, free: 11.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.1705, allocations: 43.95 kB / 0.6986 GB, free: 11.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.1709, allocations: 96.77 kB / 0.6987 GB, free: 11.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1709, allocations: 0 / 0.6987 GB, free: 11.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004163/0.1713, allocations: 121.6 kB / 0.6988 GB, free: 10.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1713, allocations: 4 kB / 0.6988 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1713, allocations: 0 / 0.6988 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1714, allocations: 3.938 kB / 0.6988 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1715, allocations: 27.91 kB / 0.6988 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1715, allocations: 0 / 0.6988 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1716, allocations: 20 kB / 0.6988 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1717, allocations: 8 kB / 0.6989 GB, free: 10.88 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/0.1718, allocations: 113.5 kB / 0.699 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.1718, allocations: 7.906 kB / 0.699 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.1718, allocations: 3.125 kB / 0.699 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1718, allocations: 0 / 0.699 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1718, allocations: 0 / 0.699 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1718, allocations: 4 kB / 0.699 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.172, allocations: 173.8 kB / 0.6991 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.172, allocations: 4 kB / 0.6991 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.1722, allocations: 23.97 kB / 0.6992 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1722, allocations: 0 / 0.6992 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1722, allocations: 0 / 0.6992 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1722, allocations: 0 / 0.6992 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1722, allocations: 0 / 0.6992 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.1727, allocations: 227.3 kB / 0.6994 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1727, allocations: 77.11 kB / 0.6995 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1728, allocations: 8 kB / 0.6995 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1729, allocations: 15.97 kB / 0.6995 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.1729, allocations: 4 kB / 0.6995 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.173, allocations: 3.938 kB / 0.6995 GB, free: 10.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.173, allocations: 87.3 kB / 0.6996 GB, free: 10.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.173, allocations: 0 / 0.6996 GB, free: 10.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002248/0.1732, allocations: 16 kB / 0.6996 GB, free: 10.04 MB / 0.545 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 (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.0001519/0.1734, allocations: 103.2 kB / 0.6997 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004414/0.1739, allocations: 95.89 kB / 0.6998 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1739, allocations: 0 / 0.6998 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.1741, allocations: 55.95 kB / 0.6998 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1744, allocations: 11.92 kB / 0.6998 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.1749, allocations: 199 kB / 0.7 GB, free: 9.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1752, allocations: 0.6729 MB / 0.7007 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1753, allocations: 15.42 kB / 0.7007 GB, free: 8.824 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1753, allocations: 0 / 0.7007 GB, free: 8.824 MB / 0.545 GB Notification: Performance of Templates: time 0.00234/0.1776, allocations: 0.9067 MB / 0.7016 GB, free: 7.926 MB / 0.545 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)