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.001082/0.001082, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 290.8 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 106 kB / 0.5952 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.154, allocations: 86.99 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002455/0.1565, allocations: 1.428 MB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1577, allocations: 0.7888 MB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.1577, allocations: 3.938 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.1577, allocations: 7.156 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.097e-05/0.1578, allocations: 0 / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1582, allocations: 128.2 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.076e-05/0.1583, allocations: 35.92 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.1584, allocations: 4.688 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.1584, allocations: 16.86 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.1585, allocations: 19.91 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1585, allocations: 4 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.1589, allocations: 320.2 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.1589, allocations: 7.984 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.159, allocations: 13.17 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1592, allocations: 199.9 kB / 0.6831 GB, free: 13.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1593, allocations: 0 / 0.6831 GB, free: 13.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1593, allocations: 4 kB / 0.6831 GB, free: 13.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1593, allocations: 0 / 0.6831 GB, free: 13.72 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.0004769/0.1598, allocations: 367.5 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1598, allocations: 8.031 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.1603, allocations: 68.84 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1604, allocations: 168.3 kB / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1604, allocations: 4.375 kB / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1604, allocations: 384 / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.1607, allocations: 93.88 kB / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1608, allocations: 0 / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1608, allocations: 0 / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1608, allocations: 0 / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.1612, allocations: 95.89 kB / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.1617, allocations: 296.8 kB / 0.6841 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1621, allocations: 102.4 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.1623, allocations: 56.81 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1623, allocations: 0 / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1624, allocations: 34.56 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1624, allocations: 0 / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007374/0.1631, allocations: 169.5 kB / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1632, allocations: 55.53 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.1632, allocations: 97.86 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1633, allocations: 25.7 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1633, allocations: 88.12 kB / 0.6847 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1633, allocations: 3.906 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1634, allocations: 17.72 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.1635, allocations: 310.8 kB / 0.685 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.1637, allocations: 47.94 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.1639, allocations: 51.95 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.1643, allocations: 92.77 kB / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1644, allocations: 0 / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004531/0.1648, allocations: 121.5 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1648, allocations: 7.984 kB / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1648, allocations: 0 / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1649, allocations: 0 / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.165, allocations: 23.97 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.165, allocations: 0 / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1652, allocations: 16.02 kB / 0.6854 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1652, allocations: 4 kB / 0.6854 GB, free: 11.12 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 7.372e-05/0.1653, allocations: 115.1 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1653, allocations: 11.89 kB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.1653, allocations: 7.062 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1653, allocations: 0 / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1653, allocations: 256 / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1654, allocations: 4 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1655, allocations: 181.6 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1655, allocations: 0 / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1657, allocations: 23.97 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1657, allocations: 3.984 kB / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1657, allocations: 0 / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1657, allocations: 0 / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1657, allocations: 0 / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.1662, allocations: 227.3 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1663, allocations: 77.11 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1663, allocations: 4 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1664, allocations: 15.97 kB / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1665, allocations: 4 kB / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1665, allocations: 7.938 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.271e-05/0.1665, allocations: 83.31 kB / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1665, allocations: 0 / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1668, allocations: 19.98 kB / 0.6861 GB, free: 10.26 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.0001438/0.1669, allocations: 99.25 kB / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.1674, allocations: 99.89 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1674, allocations: 3.938 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1676, allocations: 48.02 kB / 0.6864 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1679, allocations: 11.94 kB / 0.6864 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.1685, allocations: 169.5 kB / 0.6866 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1687, allocations: 0.6768 MB / 0.6872 GB, free: 9.094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.489e-05/0.1688, allocations: 12 kB / 0.6872 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.1688, allocations: 11.44 kB / 0.6872 GB, free: 9.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1688, allocations: 0 / 0.6872 GB, free: 9.07 MB / 494.1 MB Notification: Performance of Templates: time 0.002804/0.1716, allocations: 0.8165 MB / 0.688 GB, free: 8.27 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)