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.001176/0.001176, allocations: 104.5 kB / 16.35 MB, free: 5.828 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.00135/0.00135, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 284.8 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.893/0.893, allocations: 169.2 MB / 0.4989 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 99.31 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1555, allocations: 86.97 MB / 0.6816 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002388/0.1579, allocations: 1.431 MB / 0.683 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1591, allocations: 0.7835 MB / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.1591, allocations: 7.938 kB / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.1592, allocations: 11.86 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.1592, allocations: 3.938 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.1596, allocations: 123.5 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.1597, allocations: 35.92 kB / 0.6839 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.1598, allocations: 7.984 kB / 0.6839 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.1598, allocations: 15.98 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.1599, allocations: 19.91 kB / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1599, allocations: 4 kB / 0.684 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.1604, allocations: 323.3 kB / 0.6843 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1604, allocations: 7.984 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.1604, allocations: 15.92 kB / 0.6843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1607, allocations: 195.6 kB / 0.6845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1607, allocations: 0 / 0.6845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1607, allocations: 4 kB / 0.6845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1607, allocations: 0 / 0.6845 GB, free: 4.414 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.0004825/0.1612, allocations: 371.5 kB / 0.6849 GB, free: 4.004 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1613, allocations: 12.03 kB / 0.6849 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/0.1617, allocations: 64.84 kB / 0.6849 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1618, allocations: 172.3 kB / 0.6851 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.1619, allocations: 384 / 0.6851 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1619, allocations: 4.375 kB / 0.6851 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.1622, allocations: 85.94 kB / 0.6852 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1622, allocations: 0 / 0.6852 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1622, allocations: 0 / 0.6852 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1622, allocations: 4 kB / 0.6852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.1626, allocations: 95.83 kB / 0.6853 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.1631, allocations: 300.8 kB / 0.6856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.1635, allocations: 94.48 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.1637, allocations: 49.64 kB / 0.6857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1638, allocations: 8 kB / 0.6857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1638, allocations: 30.56 kB / 0.6857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.1638, allocations: 3.938 kB / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006658/0.1645, allocations: 165.5 kB / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.1645, allocations: 55.53 kB / 0.6859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.889e-05/0.1646, allocations: 97.86 kB / 0.686 GB, free: 2.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1646, allocations: 29.7 kB / 0.6861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.1646, allocations: 84.12 kB / 0.6861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1647, allocations: 3.906 kB / 0.6862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1647, allocations: 17.72 kB / 0.6862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1648, allocations: 310.8 kB / 0.6865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.165, allocations: 51.94 kB / 0.6865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.1652, allocations: 43.95 kB / 0.6866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.1656, allocations: 104.6 kB / 0.6867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1656, allocations: 0 / 0.6867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003992/0.166, allocations: 117.6 kB / 0.6868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.166, allocations: 6.344 kB / 0.6868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.166, allocations: 3.984 kB / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.166, allocations: 4 kB / 0.6868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1662, allocations: 15.98 kB / 0.6868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1662, allocations: 3.984 kB / 0.6868 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1663, allocations: 20.27 kB / 0.6868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1663, allocations: 3.938 kB / 0.6868 GB, free: 1.809 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.185e-05/0.1664, allocations: 113.8 kB / 0.6869 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1664, allocations: 11.91 kB / 0.6869 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.1665, allocations: 7.109 kB / 0.687 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1665, allocations: 0 / 0.687 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1665, allocations: 0 / 0.687 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1665, allocations: 4 kB / 0.687 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.1667, allocations: 181.5 kB / 0.6871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1667, allocations: 0 / 0.6871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.1668, allocations: 19.98 kB / 0.6871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1668, allocations: 0 / 0.6871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1668, allocations: 3.984 kB / 0.6872 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1668, allocations: 0 / 0.6872 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1668, allocations: 0 / 0.6872 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.1673, allocations: 223.4 kB / 0.6874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.1673, allocations: 81.11 kB / 0.6874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1674, allocations: 0 / 0.6874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1675, allocations: 11.98 kB / 0.6875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1675, allocations: 11.98 kB / 0.6875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1676, allocations: 3.984 kB / 0.6875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.1676, allocations: 83.31 kB / 0.6875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1676, allocations: 0 / 0.6875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1678, allocations: 15.98 kB / 0.6876 GB, free: 0.957 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.0001624/0.168, allocations: 107.2 kB / 0.6877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004259/0.1684, allocations: 99.89 kB / 0.6878 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1685, allocations: 0 / 0.6878 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.1687, allocations: 48.02 kB / 0.6878 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1689, allocations: 15.88 kB / 0.6878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.1695, allocations: 169.5 kB / 0.688 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2349/0.4044, allocations: 0.6746 MB / 0.6886 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.4045, allocations: 13.2 kB / 0.6887 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.4046, allocations: 11.16 kB / 0.6887 GB, free: 17.65 MB / 494.1 MB Notification: Performance of SimCode: time 1.914e-06/0.4046, allocations: 0 / 0.6887 GB, free: 17.65 MB / 494.1 MB Notification: Performance of Templates: time 0.003555/0.4082, allocations: 0.8178 MB / 0.6895 GB, free: 17.63 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)