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.001043/0.001043, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001071/0.001071, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 299.8 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8927/0.8927, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.00171, allocations: 95.83 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1558, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002499/0.1584, allocations: 1.439 MB / 0.683 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1595, allocations: 0.7914 MB / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.1595, allocations: 3.938 kB / 0.6838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.1596, allocations: 7.922 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.1596, allocations: 3.938 kB / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.16, allocations: 119.5 kB / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.1601, allocations: 31.92 kB / 0.6839 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.1602, allocations: 8 kB / 0.6839 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.1603, allocations: 15.98 kB / 0.684 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.1603, allocations: 23.89 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1603, allocations: 4 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.1608, allocations: 315.4 kB / 0.6843 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.1608, allocations: 11.92 kB / 0.6843 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.1608, allocations: 15.91 kB / 0.6843 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.1611, allocations: 195.6 kB / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1611, allocations: 0 / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1611, allocations: 0 / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1611, allocations: 0 / 0.6845 GB, free: 4.441 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.0004628/0.1616, allocations: 371.5 kB / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1616, allocations: 12.03 kB / 0.6849 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.162, allocations: 72.84 kB / 0.6849 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1622, allocations: 176.2 kB / 0.6851 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1622, allocations: 4.375 kB / 0.6851 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.1622, allocations: 384 / 0.6851 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1625, allocations: 85.94 kB / 0.6852 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1625, allocations: 4 kB / 0.6852 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1625, allocations: 0 / 0.6852 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1625, allocations: 0 / 0.6852 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.1629, allocations: 95.83 kB / 0.6853 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.1634, allocations: 292.8 kB / 0.6856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.1637, allocations: 106.4 kB / 0.6857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.1639, allocations: 49.64 kB / 0.6857 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.164, allocations: 0 / 0.6857 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.164, allocations: 38.56 kB / 0.6857 GB, free: 3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.164, allocations: 0 / 0.6857 GB, free: 3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006618/0.1647, allocations: 169.6 kB / 0.6859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1647, allocations: 51.41 kB / 0.686 GB, free: 2.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/0.1648, allocations: 97.86 kB / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1648, allocations: 25.7 kB / 0.6861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.1648, allocations: 92.12 kB / 0.6862 GB, free: 2.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.1649, allocations: 7.938 kB / 0.6862 GB, free: 2.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.1649, allocations: 13.72 kB / 0.6862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.165, allocations: 314.8 kB / 0.6865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1652, allocations: 43.94 kB / 0.6865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1654, allocations: 47.95 kB / 0.6866 GB, free: 2.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.1657, allocations: 96.7 kB / 0.6867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1657, allocations: 0 / 0.6867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003825/0.1661, allocations: 121.6 kB / 0.6868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1661, allocations: 7.984 kB / 0.6868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1661, allocations: 0 / 0.6868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1662, allocations: 4.031 kB / 0.6868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1663, allocations: 19.98 kB / 0.6868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1663, allocations: 3.984 kB / 0.6868 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1664, allocations: 11.98 kB / 0.6868 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1665, allocations: 7.938 kB / 0.6868 GB, free: 1.824 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.769e-05/0.1665, allocations: 113.8 kB / 0.6869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1666, allocations: 7.906 kB / 0.6869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.1666, allocations: 11.11 kB / 0.687 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1666, allocations: 0 / 0.687 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1666, allocations: 0 / 0.687 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1666, allocations: 0 / 0.687 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1668, allocations: 173.6 kB / 0.6871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1668, allocations: 3.984 kB / 0.6871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.1669, allocations: 27.92 kB / 0.6872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1669, allocations: 256 / 0.6872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1669, allocations: 3.984 kB / 0.6872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1669, allocations: 4 kB / 0.6872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.167, allocations: 0 / 0.6872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.1674, allocations: 219.4 kB / 0.6874 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.1674, allocations: 77.11 kB / 0.6874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1674, allocations: 4 kB / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1676, allocations: 16.02 kB / 0.6875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1676, allocations: 11.92 kB / 0.6875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1676, allocations: 0 / 0.6875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.272e-05/0.1677, allocations: 83.28 kB / 0.6876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1677, allocations: 0 / 0.6876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1679, allocations: 15.98 kB / 0.6876 GB, free: 0.9727 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.0001388/0.1681, allocations: 111.2 kB / 0.6877 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.1685, allocations: 99.89 kB / 0.6878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1685, allocations: 0 / 0.6878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1687, allocations: 43.95 kB / 0.6878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.169, allocations: 7.938 kB / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.1695, allocations: 169.5 kB / 0.688 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2365/0.406, allocations: 0.6773 MB / 0.6886 GB, free: 17.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.757e-05/0.4061, allocations: 5.969 kB / 0.6886 GB, free: 17.69 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.4061, allocations: 11.06 kB / 0.6887 GB, free: 17.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.624e-06/0.4061, allocations: 1.406 kB / 0.6887 GB, free: 17.68 MB / 494.1 MB Notification: Performance of Templates: time 0.003044/0.4092, allocations: 0.8219 MB / 0.6895 GB, free: 17.66 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)