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.001616/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001678/0.001678, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002611/0.002611, allocations: 284.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.167/1.167, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 95.17 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1655, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002813/0.1683, allocations: 1.511 MB / 0.6943 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1696, allocations: 0.8124 MB / 0.6951 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.1697, allocations: 0 / 0.6951 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.1697, allocations: 4.531 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.059e-05/0.1698, allocations: 5.469 kB / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1701, allocations: 94.94 kB / 0.6952 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.1702, allocations: 31.92 kB / 0.6952 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.1703, allocations: 11.97 kB / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.1703, allocations: 11.94 kB / 0.6952 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.1704, allocations: 19.97 kB / 0.6952 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1704, allocations: 5.625 kB / 0.6952 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.1709, allocations: 315.3 kB / 0.6955 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.1709, allocations: 7.938 kB / 0.6955 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.171, allocations: 11.92 kB / 0.6955 GB, free: 2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1713, allocations: 192.6 kB / 0.6957 GB, free: 1.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1713, allocations: 7.938 kB / 0.6957 GB, free: 1.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1713, allocations: 1.625 kB / 0.6957 GB, free: 1.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1714, allocations: 0 / 0.6957 GB, free: 1.805 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.0005954/0.172, allocations: 379.4 kB / 0.6961 GB, free: 1.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.172, allocations: 8.031 kB / 0.6961 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/0.1725, allocations: 64.86 kB / 0.6962 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1727, allocations: 172.2 kB / 0.6963 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.1727, allocations: 4.375 kB / 0.6963 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1727, allocations: 384 / 0.6963 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1731, allocations: 89.94 kB / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1731, allocations: 0 / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1731, allocations: 0 / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1731, allocations: 0 / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.1735, allocations: 87.91 kB / 0.6965 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.1741, allocations: 300.8 kB / 0.6968 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.1745, allocations: 98.5 kB / 0.6969 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.1748, allocations: 44.88 kB / 0.6969 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1748, allocations: 7.984 kB / 0.6969 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1748, allocations: 30.56 kB / 0.697 GB, free: 392 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1748, allocations: 11.94 kB / 0.697 GB, free: 380 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007678/0.1756, allocations: 161.5 kB / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1757, allocations: 55.41 kB / 0.6972 GB, free: 144 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.1758, allocations: 101.8 kB / 0.6973 GB, free: 32 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1758, allocations: 25.7 kB / 0.6973 GB, free: 0 / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.1759, allocations: 92.31 kB / 0.6974 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1759, allocations: 3.906 kB / 0.6974 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.176, allocations: 17.7 kB / 0.6974 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1761, allocations: 314.8 kB / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.1763, allocations: 43.95 kB / 0.6978 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.1766, allocations: 43.95 kB / 0.6978 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.177, allocations: 93.02 kB / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.177, allocations: 0 / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004953/0.1775, allocations: 137.4 kB / 0.698 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1775, allocations: 7.938 kB / 0.698 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1775, allocations: 4.031 kB / 0.698 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1775, allocations: 0 / 0.698 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1777, allocations: 23.97 kB / 0.6981 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1777, allocations: 0 / 0.6981 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1779, allocations: 15.97 kB / 0.6981 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1779, allocations: 8 kB / 0.6981 GB, free: 15.18 MB / 0.4981 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 9.197e-05/0.178, allocations: 109.8 kB / 0.6982 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.178, allocations: 0 / 0.6982 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.1781, allocations: 11.12 kB / 0.6982 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1781, allocations: 0 / 0.6982 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1781, allocations: 0 / 0.6982 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1781, allocations: 0 / 0.6982 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1783, allocations: 173.6 kB / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1783, allocations: 0 / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1785, allocations: 23.97 kB / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1785, allocations: 4 kB / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1785, allocations: 0 / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1785, allocations: 3.938 kB / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1785, allocations: 0 / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.179, allocations: 219.4 kB / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1791, allocations: 81.02 kB / 0.6987 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1791, allocations: 8.031 kB / 0.6987 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1793, allocations: 15.97 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.1793, allocations: 0 / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1793, allocations: 4 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.1794, allocations: 87.27 kB / 0.6988 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1794, allocations: 0 / 0.6988 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002457/0.1796, allocations: 19.94 kB / 0.6988 GB, free: 14.34 MB / 0.4981 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.0001721/0.1798, allocations: 107.2 kB / 0.6989 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.1803, allocations: 99.84 kB / 0.699 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1803, allocations: 0 / 0.699 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.1806, allocations: 43.95 kB / 0.699 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.1809, allocations: 13.42 kB / 0.6991 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.1814, allocations: 167.1 kB / 0.6992 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1818, allocations: 0.6731 MB / 0.6999 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.422e-05/0.1819, allocations: 11.98 kB / 0.6999 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.1819, allocations: 11.44 kB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1819, allocations: 0 / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.003039/0.185, allocations: 0.747 MB / 0.7006 GB, free: 12.43 MB / 0.4981 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)