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.004303/0.004303, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.00107/0.00107, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 278.5 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9586/0.9586, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 103.8 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1631, allocations: 86.98 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002319/0.1654, allocations: 1.439 MB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1666, allocations: 0.7802 MB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1666, allocations: 0 / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.1667, allocations: 7.875 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.1667, allocations: 7.922 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1672, allocations: 127.5 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.1673, allocations: 39.84 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.1673, allocations: 4 kB / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.824e-05/0.1674, allocations: 15.98 kB / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.1675, allocations: 15.92 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1675, allocations: 4 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.1679, allocations: 327.3 kB / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.168, allocations: 7.984 kB / 0.7691 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.168, allocations: 15.94 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.1683, allocations: 199.6 kB / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1683, allocations: 0 / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1683, allocations: 0 / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.1683, allocations: 0 / 0.7693 GB, free: 5.414 MB / 0.5606 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.0004945/0.1688, allocations: 367.5 kB / 0.7696 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1688, allocations: 12.03 kB / 0.7697 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.1693, allocations: 68.75 kB / 0.7697 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1694, allocations: 172.3 kB / 0.7699 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1694, allocations: 384 / 0.7699 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1694, allocations: 4.375 kB / 0.7699 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.1697, allocations: 89.92 kB / 0.77 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1697, allocations: 0 / 0.77 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1698, allocations: 0 / 0.77 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1698, allocations: 11.94 kB / 0.77 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.1702, allocations: 91.83 kB / 0.7701 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.1707, allocations: 296.9 kB / 0.7704 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.1711, allocations: 90.5 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.1713, allocations: 56.86 kB / 0.7705 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1713, allocations: 4 kB / 0.7705 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1713, allocations: 34.5 kB / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1713, allocations: 0 / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0007059/0.172, allocations: 161.7 kB / 0.7707 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1721, allocations: 55.39 kB / 0.7707 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.1722, allocations: 97.86 kB / 0.7708 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1722, allocations: 29.7 kB / 0.7709 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1722, allocations: 92.03 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1722, allocations: 3.984 kB / 0.771 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1723, allocations: 17.75 kB / 0.771 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.1724, allocations: 314.8 kB / 0.7713 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.1726, allocations: 43.95 kB / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.1728, allocations: 47.94 kB / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1732, allocations: 100.6 kB / 0.7715 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1732, allocations: 0 / 0.7715 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004322/0.1736, allocations: 125.5 kB / 0.7716 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1737, allocations: 4 kB / 0.7716 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1737, allocations: 0 / 0.7716 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1737, allocations: 4 kB / 0.7716 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1738, allocations: 24 kB / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1739, allocations: 0 / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.174, allocations: 19.97 kB / 0.7716 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.174, allocations: 0 / 0.7716 GB, free: 2.801 MB / 0.5606 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.409e-05/0.1741, allocations: 110.4 kB / 0.7717 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.1741, allocations: 8 kB / 0.7717 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.1741, allocations: 11.11 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1741, allocations: 0 / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1742, allocations: 3.938 kB / 0.7718 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1742, allocations: 3.938 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1743, allocations: 169.6 kB / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1743, allocations: 0 / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1745, allocations: 23.97 kB / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1745, allocations: 4 kB / 0.7719 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1745, allocations: 256 / 0.7719 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1745, allocations: 3.984 kB / 0.7719 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1745, allocations: 4 kB / 0.772 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.175, allocations: 219.3 kB / 0.7722 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.175, allocations: 85.09 kB / 0.7722 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1751, allocations: 0 / 0.7722 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1752, allocations: 16.02 kB / 0.7723 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.1752, allocations: 7.984 kB / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1753, allocations: 0 / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.1753, allocations: 83.28 kB / 0.7723 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.816e-06/0.1753, allocations: 0 / 0.7723 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002458/0.1756, allocations: 19.94 kB / 0.7724 GB, free: 1.953 MB / 0.5606 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.0001455/0.1757, allocations: 103.2 kB / 0.7725 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.1762, allocations: 95.91 kB / 0.7726 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1762, allocations: 4.062 kB / 0.7726 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.1764, allocations: 47.94 kB / 0.7726 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1767, allocations: 15.88 kB / 0.7726 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.1772, allocations: 157.5 kB / 0.7728 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1775, allocations: 0.6806 MB / 0.7734 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.681e-05/0.1775, allocations: 15.94 kB / 0.7734 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.1776, allocations: 15.44 kB / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1776, allocations: 0 / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of Templates: time 0.3142/0.4918, allocations: 0.8337 MB / 0.7743 GB, free: 14.53 MB / 0.5606 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)